Session::getMetadataBag()

MetadataBag getMetadataBag() Gets session meta. Return Value MetadataBag

Session::getFlashBag()

FlashBagInterface getFlashBag() Gets the flashbag interface. Return Value FlashBagInterface

Session::getId()

string getId() Returns the session ID. Return Value string The session ID

Session::getIterator()

ArrayIterator getIterator() Returns an iterator for attributes. Return Value ArrayIterator An \ArrayIterator instance

Session::getBag()

SessionBagInterface getBag(string $name) Gets a bag instance by name. Parameters string $name Return Value SessionBagInterface

Session::all()

array all() Returns attributes. Return Value array Attributes

Session

class Session implements SessionInterface, IteratorAggregate, Countable Session. Methods __construct(SessionStorageInterface $storage = null, AttributeBagInterface $attributes = null, FlashBagInterface $flashes = null) Constructor. bool start() Starts the session storage. bool has(string $name) Checks if an attribute is defined. mixed get(string $name, mixed $default = null) Returns an attribute. set(string $name, mixed $value) Sets an attribute. array all() Retu

Session::count()

int count() Returns the number of attributes. Return Value int The number of attributes

Session::clear()

clear() Clears all attributes.

ServiceRouterLoader

class ServiceRouterLoader extends ObjectRouteLoader A route loader that executes a service to load the routes. This depends on the DependencyInjection component. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null) Imports a resource. from Loader LoaderInterface resolve(mixed $resource, string|null $type =