CacheItem::validateKey()

static validateKey(string $key) Validates a cache key according to PSR-6. Parameters string $key The key to validate Exceptions InvalidArgumentException When $key is not valid.

ConstraintViolationBuilder::setPlural()

ConstraintViolationBuilderInterface setPlural(int $number) Sets the number which determines how the plural form of the violation message is chosen when it is translated. Parameters int $number The number for determining the plural form Return Value ConstraintViolationBuilderInterface This builder

DelegatingEngine::renderResponse()

Response renderResponse(string $view, array $parameters = array(), Response $response = null) Renders a view and returns a Response. Parameters string $view The view name array $parameters An array of parameters to pass to the view Response $response A Response instance Return Value Response A Response instance Exceptions RuntimeException if the template cannot be rendered

NodeExtension::translateAttribute()

XPathExpr translateAttribute(AttributeNode $node, Translator $translator) Parameters AttributeNode $node Translator $translator Return Value XPathExpr

Response::expire()

Response expire() Marks the response stale by setting the Age header to be equal to the maximum age of the response. Return Value Response

CustomFilterIterator

class CustomFilterIterator extends FilterIterator CustomFilterIterator filters files by applying anonymous functions. The anonymous function receives a \SplFileInfo and must return false to remove files. Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. from FilterIterator __construct(Iterator $iterator, array $filters) Constructor. bool accept() Filters the iterator values.

ConsoleTerminateEvent::setExitCode()

setExitCode(int $exitCode) Sets the exit code. Parameters int $exitCode The command exit code

Component\Security\Core

Namespaces Symfony\Component\Security\Core\AuthenticationSymfony\Component\Security\Core\AuthorizationSymfony\Component\Security\Core\EncoderSymfony\Component\Security\Core\EventSymfony\Component\Security\Core\ExceptionSymfony\Component\Security\Core\RoleSymfony\Component\Security\Core\UserSymfony\Component\Security\Core\UtilSymfony\Component\Security\Core\Validator Classes AuthenticationEvents SecurityContext SecurityContext is the main entry point of the Security component. Interf

VarDumper

class VarDumper Methods static dump($var) static setHandler(callable $callable = null) Details static dump($var) Parameters $var static setHandler(callable $callable = null) Parameters callable $callable

ChoiceType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form