CachingFactoryDecorator::getDecoratedFactory()

ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory

Component\Console\Exception

Classes CommandNotFoundException Represents an incorrect command name typed in the console. InvalidArgumentException InvalidOptionException Represents an incorrect option name typed in the console. LogicException RuntimeException Interfaces ExceptionInterface ExceptionInterface.

AclVoter::vote()

int vote(TokenInterface $token, object|null $object, array $attributes) Returns the vote for the given parameters. This method must return one of the following constants: ACCESSGRANTED, ACCESSDENIED, or ACCESS_ABSTAIN. Parameters TokenInterface $token A TokenInterface instance object|null $object The object to secure array $attributes An array of attributes associated with the method being invoked Return Value int either ACCESSGRANTED, ACCESSABSTAIN, or ACCESS_DENIED

FormTypeExtensionInterface::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the view. This method is called after the extended type has finished the view to further modify it. Parameters FormView $view The view FormInterface $form The form array $options The options See also FormTypeInterface::finishView()

DirectoryResource

class DirectoryResource implements SelfCheckingResourceInterface, Serializable DirectoryResource represents a resources stored in a subdirectory tree. Methods __construct(string $resource, string|null $pattern = null) Constructor. string __toString() Returns a string representation of the Resource. string getResource() string|null getPattern() Returns the pattern to restrict monitored files. bool isFresh(int $timestamp) Returns true if the resource has not been updat

RenderTokenParser deprecated::parse()

Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A \Twig_Token instance Return Value Twig_Node A \Twig_Node instance

FilterIterator

class FilterIterator extends FilterIterator This iterator just overrides the rewind method in order to correct a PHP bug, which existed before version 5.5.23/5.6.7. Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. Details rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after

ParameterBagUtils

class ParameterBagUtils Methods static mixed getParameterBagValue(ParameterBag $parameters, string $path) Returns a "parameter" value. static mixed getRequestParameterValue(Request $request, string $path) Returns a request "parameter" value. Details static mixed getParameterBagValue(ParameterBag $parameters, string $path) Returns a "parameter" value. Paths like foo[bar] will be evaluated to find deeper items in nested data structures. Param

NativeSessionTokenStorage

class NativeSessionTokenStorage implements TokenStorageInterface Token storage that uses PHP's native session handling. Constants SESSION_NAMESPACE The namespace used to store values in the session. Methods __construct(string $namespace = self::SESSION_NAMESPACE) Initializes the storage with a session namespace. string getToken(string $tokenId) Reads a stored CSRF token. setToken(string $tokenId, string $token) Stores a CSRF token. bool hasToken(string $tokenId) Check

CollectionType::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