protected function extractTypeValues(array $data, array $types)
    {
        $typeValues = array();

        foreach ($data as $k => $_) {
            $typeValues[] = isset($types[$k])
                ? $types[$k]
                : \PDO::PARAM_STR;
        }

        return $typeValues;
    }
protected function extractTypeValues(array $data, array $types)
    {
        $typeValues = array();

        foreach ($data as $k => $_) {
            $typeValues[] = isset($types[$k])
                ? $types[$k]
                : \PDO::PARAM_STR;
        }

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

@param array $data
@param array $types

@return array
Extract ordered type list from two associate key lists of data and types .