classParameterKind
final class ParameterKind
Restricted visibility: declared "@visibility ZtdQuery\Adapter\Pdo". Code outside that scope must not name this declaration.
Says which of PDO's parameter kinds a value is to be bound as.
PDO::bindValue() takes the kind separately from the value, and a caller who passes parameters to execute() never names one. This reads the kind off the value itself, the way PDO would have read it had the caller named none.
Methods§
public static function fromType(string $type): intReturn PDO's binding flag for the type reported by gettype().
Parameters
$type | string |
Returns
intTest cases 1
Called from 1
Test cases 10§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 9
PdoConnectionTestcallsPdoStatementTestcallsDriverSessionFactoryTestcallsParameterBinderTestcallsPreparedQueryTestcallsStatementExecutionTestcallsZtdPdoExceptionTestcallsZtdPdoStatementTestcallsZtdPdoTestcalls