Process::getEnv()

array getEnv() Gets the environment variables. Return Value array The current environment variables

ContainerAwareEventDispatcher

class ContainerAwareEventDispatcher extends EventDispatcher Lazily loads listeners and subscribers from the dependency injection container. Methods Event dispatch(string $eventName, Event $event = null) Dispatches an event to all registered listeners. from EventDispatcher array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. int|null getListenerPriority(string $eventName, callable $listener) Gets the l

Existence

class Existence extends Composite Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group CLASS_CONSTRAINT Marks a constraint that can be put onto classes PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties Properties mixed $payload Domain-specific data attached to a constraint from Constraint array $groups The groups that the constraint belongs to from Constraint $constraints Methods static string getErrorName(i

ServerCommand

class ServerCommand extends ContainerAwareCommand Base methods for commands related to PHP's built-in web server. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set.

ServerBag

class ServerBag extends ParameterBag ServerBag is a container for HTTP headers from the $_SERVER variable. Methods __construct(array $parameters = array()) Constructor. from ParameterBag array all() Returns the parameters. from ParameterBag array keys() Returns the parameter keys. from ParameterBag replace(array $parameters = array()) Replaces the current parameters by a new set. from ParameterBag add(array $parameters = array()) Adds parameters. from ParameterBag mixed

FormBuilderInterface::all()

array all() Returns the children. Return Value array

True deprecated

class True extends IsTrue deprecated since version 2.7, to be removed in 3.0. Use IsTrue instead. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_TRUE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the const

RingBuffer::offsetGet()

offsetGet($key) {@inheritdoc} Parameters $key

ConsoleTerminateEvent

class ConsoleTerminateEvent extends ConsoleEvent Allows to manipulate the exit code of a command after its execution. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event setDispatcher(EventDispatcherInterface $dispatcher) deprecated Stores the EventDispatcher that dispatches this Event. from Event EventDispatcherInterface getDispa

AppVariable::getEnvironment()

string getEnvironment() Returns the current app environment. Return Value string The current environment string (e.g 'dev')