ControllerResolverInterface

interface ControllerResolverInterface A ControllerResolverInterface implementation knows how to determine the controller to execute based on a Request object. It can also determine the arguments to pass to the Controller. A Controller can be any valid PHP callable. Methods callable|false getController(Request $request) Returns the Controller instance associated with a Request. array getArguments(Request $request, callable $controller) deprecated Returns the arguments to pass to the

ArgumentMetadata::getDefaultValue()

mixed getDefaultValue() Returns the default value of the argument. Return Value mixed Exceptions LogicException if no default value is present; {see self::hasDefaultValue()}

Section::startEvent()

StopwatchEvent startEvent(string $name, string $category) Starts an event. Parameters string $name The event name string $category The event category Return Value StopwatchEvent The event

Form::getValues()

array getValues() Gets the field values. The returned array does not include file fields (see getFiles). Return Value array An array of field values

Acl::setParentAcl()

setParentAcl(AclInterface $acl = null) Sets the parent ACL Parameters AclInterface $acl

Finder::sortByName()

Finder|SplFileInfo[] sortByName() Sorts files and directories by name. This can be slow as all the matching files and directories must be retrieved for comparison. Return Value Finder|SplFileInfo[] The current Finder instance See also SortableIterator

DebugLoggerInterface

interface DebugLoggerInterface DebugLoggerInterface. Methods array getLogs() Returns an array of logs. int countErrors() Returns the number of errors. Details array getLogs() Returns an array of logs. A log is an array with the following mandatory keys: timestamp, message, priority, and priorityName. It can also have an optional context key containing an array. Return Value array An array of logs int countEr

TrimListener::preSubmit()

preSubmit(FormEvent $event) Parameters FormEvent $event

DialogHelper deprecated::getName()

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

ExecutionContext::isGroupValidated()

bool isGroupValidated(string $cacheKey, string $groupHash) Returns whether an object was validated in a specific validation group. Parameters string $cacheKey The hash of the object string $groupHash The group's name or hash, if it is group sequence Return Value bool Whether the object was already validated for that group