public static function extractPdoType($type)
    {
        switch ($type) {
            case DbSimpleTypes::TYPE_BINARY:
                return \PDO::PARAM_LOB;
            default:
                switch (static::extractPhpType($type)) {
                    case 'boolean':
                        return \PDO::PARAM_BOOL;
                    case 'integer':
                        return \PDO::PARAM_INT;
                    case 'string':
                        return \PDO::PARAM_STR;
                }
        }

        return null;
    }
public static function extractPdoType($type)
    {
        switch ($type) {
            case DbSimpleTypes::TYPE_BINARY:
                return \PDO::PARAM_LOB;
            default:
                switch (static::extractPhpType($type)) {
                    case 'boolean':
                        return \PDO::PARAM_BOOL;
                    case 'integer':
                        return \PDO::PARAM_INT;
                    case 'string':
                        return \PDO::PARAM_STR;
                }
        }

        return null;
    }
public static function extractPdoType ( $ type ) { switch ( $ type ) { case DbSimpleTypes :: TYPE_BINARY : return \ PDO :: PARAM_LOB ; default : switch ( static :: extractPhpType ( $ type ) ) { case 'boolean' : return \ PDO :: PARAM_BOOL ; case 'integer' : return \ PDO :: PARAM_INT ; case 'string' : return \ PDO :: PARAM_STR ; } } return null ; }
Extracts the PHP PDO type from DF type.

@param string $type DF type

@return int|null
Extracts the PHP PDO type from DF type .