ParameterBag::add()

add(array $parameters) Adds parameters to the service container parameters. Parameters array $parameters An array of parameters

CsrfProviderInterface deprecated::generateCsrfToken()

string generateCsrfToken(string $intention) Generates a CSRF token for a page of your application. Parameters string $intention Some value that identifies the action intention (i.e. "authenticate"). Doesn't have to be a secret value. Return Value string The generated token

ChainAdapter::clear()

clear() {@inheritdoc}

Application::setDefaultCommand()

setDefaultCommand(string $commandName) Sets the default Command name. Parameters string $commandName The Command name

AcceptHeaderItem::setQuality()

AcceptHeaderItem setQuality(float $quality) Set the item quality. Parameters float $quality Return Value AcceptHeaderItem

SessionStorageInterface

interface SessionStorageInterface StorageInterface. Methods bool start() Starts the session. bool isStarted() Checks if the session is started. string getId() Returns the session ID. setId(string $id) Sets the session ID. mixed getName() Returns the session name. setName(string $name) Sets the session name. bool regenerate(bool $destroy = false, int $lifetime = null) Regenerates id that represents this storage. save() Force the session to be saved and c

TestSessionListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

FormDataCollectorInterface::associateFormWithView()

associateFormWithView(FormInterface $form, FormView $view) Specifies that the given objects represent the same conceptual form. Parameters FormInterface $form A form object FormView $view A view object

FormDataCollector::collectConfiguration()

collectConfiguration(FormInterface $form) Stores configuration data of the given form and its children. Parameters FormInterface $form A root form

Kernel::isDebug()

bool isDebug() Checks if debug mode is enabled. Return Value bool true if debug mode is enabled, false otherwise