FileSqlLogger

implements Doctrine\DBAL\Logging\SQLLogger
Methods Summary
public
# __construct( string $path )
Set the file object.
public
# startQuery( string $sql , array $params = NULL, array $types = NULL )
Log SQL to file.

Implementation of

public
protected
# getType( $type )
Properties Summary
protected $types
List of PDO and Doctrine built-in types
# array ( 5 => 'PARAM_BOOL', 0 => 'PARAM_NULL', 1 => 'PARAM_INT', 2 => 'PARAM_STR', 3 => 'PARAM_LOB', 101 => 'PARAM_INT_ARRAY', 102 => 'PARAM_STR_ARRAY', )
protected SplFileObject $file
# NULL
protected float $startTime
# NULL
protected string $entry
# NULL