Doctrine\ORM\Query\ParameterTypeInferer::inferType
Infer type of a given value, returning a compatible constant: - Type (\Doctrine\DBAL\Types\Type::*) - Connection (\Doctrine\DBAL\Connection::PARAM_*)
Signature
public function inferType(mixed
$value )
Parameters
$value
— mixed- Parameter value
Returns
- mixed
- Parameter type constant