DoctrineChoiceLoader

class DoctrineChoiceLoader implements ChoiceLoaderInterface Loads choices using a Doctrine object manager. Methods __construct($manager, $class, $idReader = null, $objectLoader = null, $factory = null) Creates a new choice loader. ChoiceListInterface loadChoiceList(null|callable $value = null) Loads a list of choices. string[] loadValuesForChoices(array $choices, null|callable $value = null) Loads the values corresponding to the given choices. array loadChoicesForValues(ar

UserAuthenticationProvider::supports()

bool supports(TokenInterface $token) Checks whether this provider supports the given token. Parameters TokenInterface $token A TokenInterface instance Return Value bool true if the implementation supports the Token, false otherwise

ErrorHandler::setExceptionHandler()

callable|null setExceptionHandler(callable $handler = null) Sets a user exception handler. Parameters callable $handler A handler that will be called on Exception Return Value callable|null The previous exception handler

Button::remove()

FormInterface remove(string $name) Unsupported method. This method should not be invoked. Parameters string $name The name of the child to remove Return Value FormInterface The form instance Exceptions BadMethodCallException

PropertyPathInterface::getElements()

array getElements() Returns the elements of the property path as array. Return Value array An array of property/index names

OptionsResolverInterface deprecated::addAllowedValues()

OptionsResolverInterface addAllowedValues(array $allowedValues) Adds allowed values for a list of options. The values are merged with the allowed values defined previously. Parameters array $allowedValues A list of option names as keys and arrays with values acceptable for that option as values. Return Value OptionsResolverInterface The resolver instance. Exceptions InvalidOptionsException If an option has not been defined (see {@link isKnown()}) for which an allowed value is

OrderedHashMap::offsetGet()

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

ContainerBuilder::has()

bool has(string $id) Returns true if the given service is defined. Parameters string $id The service identifier Return Value bool true if the service is defined, false otherwise

DebugAccessDecisionManager::decide()

bool decide(TokenInterface $token, array $attributes, object $object = null) Decides whether the access is possible or not. Parameters TokenInterface $token A TokenInterface instance array $attributes An array of attributes associated with the method being invoked object $object The object to secure Return Value bool true if the access is granted, false otherwise

ResourceCheckerConfigCache::isFresh()

bool isFresh() Checks if the cache is still fresh. This implementation will make a decision solely based on the ResourceCheckers passed in the constructor. The first ResourceChecker that supports a given resource is considered authoritative. Resources with no matching ResourceChecker will silently be ignored and considered fresh. Return Value bool Whether the cache is still fresh.