Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Profiler.php

function Profiler::find

Finds profiler tokens for the given criteria.

Parameters

int|null $limit The maximum number of tokens to return:

string|null $start The start date to search from:

string|null $end The end date to search to:

\Closure|null $filter A filter to apply on the list of tokens:

See also

https://php.net/datetime.formats for the supported date/time formats

File

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

Class

Profiler
Profiler.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function find(?string $ip, ?string $url, ?int $limit, ?string $method, ?string $start, ?string $end, ?string $statusCode = null, ?\Closure $filter = null) : array {
    return $this->storage
        ->find($ip, $url, $limit, $method, $this->getTimestamp($start), $this->getTimestamp($end), $statusCode, $filter);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal