DumpListener

class DumpListener implements EventSubscriberInterface Configures dump() handler. Methods __construct(ClonerInterface $cloner, DataDumperInterface $dumper) configure() static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(ClonerInterface $cloner, DataDumperInterface $dumper) Parameters ClonerInterface $cloner Cloner service DataDumperInterface $dumper Dumper servi

Client::setServerParameters()

setServerParameters(array $server) Sets server parameters. Parameters array $server An array of server parameters

StreamedResponse::setCallback()

setCallback(callable $callback) Sets the PHP callback associated with this Response. Parameters callable $callback A valid PHP callback

ContainerBuilder::getDefinitions()

Definition[] getDefinitions() Gets all service definitions. Return Value Definition[] An array of Definition instances

Kernel::getBundles()

BundleInterface[] getBundles() Gets the registered bundle instances. Return Value BundleInterface[] An array of registered bundle instances

Alias::setPublic()

setPublic(bool $boolean) Sets if this Alias is public. Parameters bool $boolean If this Alias should be public

Kernel::getLogDir()

string getLogDir() Gets the log directory. Return Value string The log directory

KernelInterface::getName()

string getName() Gets the name of the kernel. Return Value string The kernel name

MongoDbProfilerStorage deprecated

class MongoDbProfilerStorage implements ProfilerStorageInterface deprecated Deprecated since Symfony 2.8, to be removed in Symfony 3.0. Use {@link FileProfilerStorage} instead. Methods __construct(string $dsn, string $username = '', string $password = '', int $lifetime = 86400) Constructor. array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. purge() Purges all data from

ErrorHandler::register()

static ErrorHandler register(ErrorHandler $handler = null, bool $replace = true) Registers the error handler. Parameters ErrorHandler $handler The handler to register bool $replace Whether to replace or not any existing handler Return Value ErrorHandler The registered error handler