RegisterListenersPass

class RegisterListenersPass implements CompilerPassInterface Compiler pass to register tagged services for an event dispatcher. Methods __construct(string $dispatcherService = 'event_dispatcher', string $listenerTag = 'kernel.event_listener', string $subscriberTag = 'kernel.event_subscriber') Constructor. process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details __construct(string $dispatcherServi

ServiceReferenceGraphNode::isDefinition()

bool isDefinition() Checks if the value of this node is a Definition. Return Value bool True if the value is a Definition instance

ContainerBuilder::setResourceTracking()

setResourceTracking(bool $track) Sets the track resources flag. If you are not using the loaders and therefore don't want to depend on the Config component, set this flag to false. Parameters bool $track true if you want to track resources, false otherwise

OutputStyle

class OutputStyle implements OutputInterface, StyleInterface Decorates output to add console style guide helpers. Methods __construct(OutputInterface $output) newLine(int $count = 1) Add newline(s). ProgressBar createProgressBar(int $max) write(string|array $messages, bool $newline = false, $type = self::OUTPUT_NORMAL) Writes a message to the output. writeln(string|array $messages, $type = self::OUTPUT_NORMAL) Writes a message to the output and adds a newline at the

RouterHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

FormExtension::humanize()

string humanize(string $text) Makes a technical name human readable. Parameters string $text The text to humanize Return Value string The humanized text

ParameterBag::escapeValue()

mixed escapeValue(mixed $value) Escape parameter placeholders %. Parameters mixed $value Return Value mixed

Shell deprecated::getType()

int getType() Returns guessed OS type. Return Value int

Ssi::getName()

string getName() Returns surrogate name. Return Value string

PhpDumper::dump()

string dump(array $options = array()) Dumps the service container as a PHP class. Available options: class: The class name base_class: The base class name namespace: The class namespace Parameters array $options An array of options Return Value string The representation of the service container