OutputStyle::isDecorated()

bool isDecorated() Gets the decorated flag. Return Value bool true if the output will decorate messages, false otherwise

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

ContainerBuilder::getResources()

ResourceInterface[] getResources() Returns an array of resources loaded to build this configuration. Return Value ResourceInterface[] An array of resources

ServiceReferenceGraphNode::addInEdge()

addInEdge(ServiceReferenceGraphEdge $edge) Adds an in edge to this node. Parameters ServiceReferenceGraphEdge $edge

ServiceReferenceGraphNode::addOutEdge()

addOutEdge(ServiceReferenceGraphEdge $edge) Adds an out edge to this node. Parameters ServiceReferenceGraphEdge $edge

Session::migrate()

bool migrate(bool $destroy = false, int $lifetime = null) Migrates the current session to a new session id while maintaining all session attributes. Parameters bool $destroy Whether to delete the old session or leave it to garbage collection int $lifetime Sets the cookie lifetime for the session cookie. A null value will leave the system settings unchanged, 0 sets the cookie to expire with browser session. Time is in seconds, and is not a Unix timestamp. Return Value bool True

Stopwatch::getSectionEvents()

StopwatchEvent[] getSectionEvents(string $id) Gets all events for a given section. Parameters string $id A section identifier Return Value StopwatchEvent[] An array of StopwatchEvent instances

ParameterBagInterface::remove()

remove(string $name) Removes a parameter. Parameters string $name The parameter name

DefaultCsrfProvider deprecated

class DefaultCsrfProvider implements CsrfProviderInterface deprecated since version 2.4, to be removed in 3.0. Use {@link \Symfony\Component\Security\Csrf\CsrfTokenManager} in combination with {@link \Symfony\Component\Security\Csrf\TokenStorage\NativeSessionTokenStorage} instead. Default implementation of CsrfProviderInterface. This provider uses the session ID returned by session_id() as well as a user-defined secret value to secure the CSRF token. Methods __construct(string $secre

ExecutionContextInterface::setConstraint()

setConstraint(Constraint $constraint) Sets the currently validated constraint. Parameters Constraint $constraint The validated constraint