Scope

class Scope Methods __construct(Scope $parent = null) Scope enter() Opens a new child scope. Scope|null leave() Closes current scope and returns parent one. Scope set(string $key, mixed $value) Stores data into current scope. bool has(string $key) Tests if a data is visible from current scope. mixed get(string $key, mixed $default = null) Returns data visible from current scope. Details __construct(Scope $parent = null)

Scope deprecated::getName()

getName()

Scope::enter()

Scope enter() Opens a new child scope. Return Value Scope

Scope deprecated::getParentName()

getParentName()

Scope deprecated

class Scope implements ScopeInterface deprecated since version 2.8, to be removed in 3.0. Scope class. Methods __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) getName() getParentName() Details __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER) Parameters $name $parentName getName() getParentName()

Schema

class Schema extends Schema The schema used for the ACL system. Methods __construct(array $options, Connection $connection = null) Constructor addToSchema(Schema $schema) Merges ACL schema with the given schema. Details __construct(array $options, Connection $connection = null) Constructor Parameters array $options the names for tables Connection $connection addToSchema(Schema $schema) Merges

ScalarNodeDefinition

class ScalarNodeDefinition extends VariableNodeDefinition This class provides a fluent interface for defining a node. Methods __construct(string $name, NodeParentInterface $parent = null) Constructor. from NodeDefinition NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node. from NodeDefinition NodeDefinition|$this info(string $info) Sets info message. from NodeDefinition NodeDefinition|$this example(string|array $example) Sets example configuration

ScalarNode

class ScalarNode extends VariableNode This node represents a scalar value in the config tree. The following values are considered scalars: * booleans * strings * null * integers * floats Methods __construct(string $name, NodeInterface $parent = null) Constructor. from BaseNode setAttribute($key, $value) from BaseNode getAttribute($key, $default = null) from BaseNode hasAttribute($key) from BaseNode getAttributes() from BaseNode setAttributes(array $attributes) f

SaveSessionListener::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

SaveSessionListener::onKernelResponse()

onKernelResponse(FilterResponseEvent $event) Parameters FilterResponseEvent $event