DumperCollection::setAll()

setAll(array $children) Sets children. Parameters array $children The children

Component\Form\Extension\Csrf\EventListener

Classes CsrfValidationListener

DoctrineType::getLoader()

abstract EntityLoaderInterface getLoader(ObjectManager $manager, mixed $queryBuilder, string $class) Return the default loader object. Parameters ObjectManager $manager mixed $queryBuilder string $class Return Value EntityLoaderInterface

UserProviderFactoryInterface::addConfiguration()

addConfiguration(NodeDefinition $builder) Parameters NodeDefinition $builder

Session::has()

bool has(string $name) Checks if an attribute is defined. Parameters string $name The attribute name Return Value bool true if the attribute is defined, false otherwise

AnonymousAuthenticationProvider

class AnonymousAuthenticationProvider implements AuthenticationProviderInterface AnonymousAuthenticationProvider validates AnonymousToken instances. Methods __construct(string $secret) Constructor. TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. bool supports(TokenInterface $token) Checks whether this provider supports the given token. Details __construct(string $secret) Constructo

ErrorHandler::screamAt()

int screamAt(int $levels, bool $replace = false) Sets the error levels where the @-operator is ignored. Parameters int $levels A bit field of E_* constants for screamed errors bool $replace Replace or amend the previous value Return Value int The previous value

Route::setRequirements()

setRequirements($requirements) Parameters $requirements

ExecutionContext::getValidator()

ValidatorInterface getValidator() Returns the validator. Useful if you want to validate additional constraints: public function validate($value, Constraint $constraint) { $validator = $this->context->getValidator(); $violations = $validator->validateValue($value, new Length(array('min' => 3))); if (count($violations) > 0) { // ... } } Return Value ValidatorInterface

Form::getParent()

FormInterface|null getParent() Returns the parent form. Return Value FormInterface|null The parent form or null if there is none