Profiler
class Profiler implements ResetInterface
Profiler.
Methods
__construct(ProfilerStorageInterface $storage, LoggerInterface $logger = null, bool $enable = true)
No description
disable()
Disables the profiler.
enable()
Enables the profiler.
Profile|false
loadProfile(string $token)
Loads the Profile for the given token.
bool
purge()
Purges all data from the storage.
array
find(string $ip, string $url, string $limit, string $method, string $start, string $end, string $statusCode = null)
Finds profiler tokens for the given criteria.
Profile|null
reset()
No description
array
all()
Gets the Collectors associated with this profiler.
set(array $collectors = array())
Sets the Collectors associated with this profiler.
bool
has(string $name)
Returns true if a Collector for the given name exists.
get(string $name)
Gets a Collector by name.