ApiPlatform\Core\Bridge\Doctrine\Orm\Filter\NumericFilter::getType PHP Метод

getType() приватный метод

Gets the PHP type corresponding to this Doctrine type.
private getType ( string $doctrineType ) : string
$doctrineType string
Результат string
    private function getType(string $doctrineType) : string
    {
        if (DBALType::DECIMAL === $doctrineType) {
            return 'string';
        }
        if (DBALType::FLOAT === $doctrineType) {
            return 'float';
        }
        return 'int';
    }