abstract protected function PdoProfilerStorage::buildCriteria

Build SQL criteria to fetch records by ip and url

Parameters

string $ip The IP:

string $url The URL:

string $limit The maximum number of tokens to return:

string $method The request method:

Return value

array An array with (criteria, args)

1 call to PdoProfilerStorage::buildCriteria()
PdoProfilerStorage::find in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php
Finds profiler tokens for the given criteria.
2 methods override PdoProfilerStorage::buildCriteria()
MysqlProfilerStorage::buildCriteria in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/MysqlProfilerStorage.php
Build SQL criteria to fetch records by ip and url
SqliteProfilerStorage::buildCriteria in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/SqliteProfilerStorage.php
Build SQL criteria to fetch records by ip and url

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/PdoProfilerStorage.php, line 130

Class

PdoProfilerStorage
Base PDO storage for profiling information in a PDO database.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

protected abstract function buildCriteria($ip, $url, $limit, $method);