Doctrine\DBAL\Connection::extractTypeValues PHP Метод

extractTypeValues() приватный Метод

Extract ordered type list from two associate key lists of data and types.
private extractTypeValues ( array $data, array $types ) : array
$data array
$types array
Результат array
    private function extractTypeValues(array $data, array $types)
    {
        $typeValues = array();
        foreach ($data as $k => $_) {
            $typeValues[] = isset($types[$k]) ? $types[$k] : \PDO::PARAM_STR;
        }
        return $typeValues;
    }