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

RelativePath

class RelativePath extends PropertyPath Constants SINGULAR_SEPARATOR Character used for separating between plural and singular of an element. Methods __construct(FormInterface $root, PropertyPath|string $propertyPath) string __toString() Returns the string representation of the property path from PropertyPath integer getLength() Returns the length of the property path, i.e. the number of elements. from PropertyPath PropertyPath getParent() Returns the parent property pat

DebugUniversalClassLoader deprecated

class DebugUniversalClassLoader extends UniversalClassLoader deprecated since version 2.4, to be removed in 3.0. Use the {@link \Symfony\Component\Debug\DebugClassLoader} class instead. Checks that the class is actually declared in the included file. Methods useIncludePath(bool $useIncludePath) Turns on searching the include for class files. Allows easy loading of installed PEAR packages. from UniversalClassLoader bool getUseIncludePath() Can be used to check if the autoloader us

Process::getEnv()

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

LintCommand

class LintCommand extends Command Command that will validate your template syntax and output encountered errors. Methods __construct(string|null $name = 'lint:twig') Constructor. 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. from C

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.

FilterResponseEvent

class FilterResponseEvent extends KernelEvent Allows to filter a Response object. You can call getResponse() to retrieve the current response. With setResponse() you can set a new response that will be returned to the browser. 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) depre