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

AddRequestFormatsListener::onKernelRequest()

onKernelRequest(GetResponseEvent $event) Adds request formats. Parameters GetResponseEvent $event

SerializerAwareNormalizer deprecated

class SerializerAwareNormalizer implements SerializerAwareInterface deprecated since version 3.1, to be removed in 4.0. Use the SerializerAwareTrait instead. SerializerAware Normalizer implementation. Traits SerializerAwareTrait SerializerAware trait. Methods setSerializer(SerializerInterface $serializer) Sets the serializer. from SerializerAwareTrait Details setSerializer(SerializerInterface $serializer) Sets the serializer. Parame

PropertyMetadataInterface deprecated::getPropertyName()

string getPropertyName() Returns the name of the property. Return Value string The property name.

LoggerInterface deprecated::warn()

warn($message, array $context = array()) deprecated deprecated since version 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible. Parameters $message array $context

Button::getRoot()

FormInterface getRoot() Returns the root of the form tree. Return Value FormInterface The root of the tree