Neos\Flow\Persistence\Doctrine\Logging\SqlLogger::startQuery PHP Метод

startQuery() публичный Метод

Logs a SQL statement to the system logger (DEBUG priority).
public startQuery ( string $sql, array $params = null, array $types = null ) : void
$sql string The SQL to be executed
$params array The SQL parameters
$types array The SQL parameter types.
Результат void
    public function startQuery($sql, array $params = null, array $types = null)
    {
        // this is a safeguard for when no logger might be available...
        if ($this->logger !== null) {
            $this->logger->log($sql, LOG_DEBUG, ['params' => $params, 'types' => $types]);
        }
    }