Response::setNotModified()

Response setNotModified() Modifies the response so that it conforms to the rules defined for a 304 status code. This sets the status, removes the body, and discards any headers that MUST NOT be included in 304 responses. Return Value Response See also http://tools.ietf.org/html/rfc2616#section-10.3.5

ApplicationTester::getErrorOutput()

string getErrorOutput(bool $normalize = false) Gets the output written to STDERR by the application. Parameters bool $normalize Whether to normalize end of lines to \n or not Return Value string

ReflectionCaster::castProperty()

static castProperty(ReflectionProperty $c, array $a, Stub $stub, $isNested) Parameters ReflectionProperty $c array $a Stub $stub $isNested

FormConfigBuilder::addEventSubscriber()

FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber) Adds an event subscriber for events on this form. Parameters EventSubscriberInterface $subscriber The subscriber to attach Return Value FormConfigBuilderInterface The configuration object

FormInterface::submit()

FormInterface submit(null|string|array $submittedData, bool $clearMissing = true) Submits data to the form, transforms and validates it. Parameters null|string|array $submittedData The submitted data bool $clearMissing Whether to set fields to NULL when they are missing in the submitted data. Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted.

GenericMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

StopwatchExtension::getTokenParsers()

getTokenParsers()

AttributeNode::getSelector()

NodeInterface getSelector() Return Value NodeInterface

AuthorizationCheckerInterface

interface AuthorizationCheckerInterface The AuthorizationCheckerInterface. Methods bool isGranted(mixed $attributes, mixed $object = null) Checks if the attributes are granted against the current authentication token and optionally supplied object. Details bool isGranted(mixed $attributes, mixed $object = null) Checks if the attributes are granted against the current authentication token and optionally supplied object. Parameters mixed $attri

DefaultAuthenticationSuccessHandler::onAuthenticationSuccess()

Response onAuthenticationSuccess(Request $request, TokenInterface $token) This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener. Parameters Request $request TokenInterface $token Return Value Response never null