You are here

public function Profiler::find in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profiler.php \Symfony\Component\HttpKernel\Profiler\Profiler::find()

Finds profiler tokens for the given criteria.

Parameters

string $ip The IP:

string $url The URL:

string $limit The maximum number of tokens to return:

string $method The request method:

string $start The start date to search from:

string $end The end date to search to:

Return value

array An array of tokens

See also

http://php.net/manual/en/datetime.formats.php for the supported date/time formats

File

vendor/symfony/http-kernel/Profiler/Profiler.php, line 180

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function find($ip, $url, $limit, $method, $start, $end) {
  return $this->storage
    ->find($ip, $url, $limit, $method, $this
    ->getTimestamp($start), $this
    ->getTimestamp($end));
}