ParameterTypeInferer
in package
Provides an enclosed support for parameter inferring.
Tags
Table of Contents
- inferType() : int|string
- Infers type of a given value, returning a compatible constant: - Type (\Doctrine\DBAL\Types\Type::*) - Connection (\Doctrine\DBAL\Connection::PARAM_*)
Methods
inferType()
Infers type of a given value, returning a compatible constant: - Type (\Doctrine\DBAL\Types\Type::*) - Connection (\Doctrine\DBAL\Connection::PARAM_*)
public
static inferType(mixed $value) : int|string
Parameters
- $value : mixed
-
Parameter value.
Return values
int|string —Parameter type constant.