ContextInterface::getBasePath()

string getBasePath() Gets the base path. Return Value string The base path

ContextListener::handle()

handle(GetResponseEvent $event) Reads the Security Token from the session. Parameters GetResponseEvent $event

ContextInterface

interface ContextInterface Holds information about the current request. Methods string getBasePath() Gets the base path. bool isSecure() Checks whether the request is secure or not. Details string getBasePath() Gets the base path. Return Value string The base path bool isSecure() Checks whether the request is secure or not. Return Value bool true if the request is secure, false otherwise

ContextListener

class ContextListener implements ListenerInterface ContextListener manages the SecurityContext persistence through a session. Methods __construct(TokenStorageInterface $tokenStorage, array $userProviders, $contextKey, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, AuthenticationTrustResolverInterface $trustResolver = null) handle(GetResponseEvent $event) Reads the Security Token from the session. onKernelResponse(FilterResponseEvent $event) Writes

ContainerInterface

interface ContainerInterface ContainerInterface is the interface implemented by service container classes. Constants EXCEPTION_ON_INVALID_REFERENCE NULL_ON_INVALID_REFERENCE IGNORE_ON_INVALID_REFERENCE Methods set(string $id, object $service) Sets a service. object get(string $id, int $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) Gets a service. bool has(string $id) Returns true if the given service is defined. bool initialized(string $id) Check fo

ContainerInterface::initialized()

bool initialized(string $id) Check for whether or not a service has been initialized. Parameters string $id Return Value bool true if the service has been initialized, false otherwise

ContainerInterface::setParameter()

setParameter(string $name, mixed $value) Sets a parameter. Parameters string $name The parameter name mixed $value The parameter value

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

ContextErrorException

class ContextErrorException extends ErrorException Error Exception with Variable Context. Methods __construct($message, $code, $severity, $filename, $lineno, $context = array()) array getContext() Details __construct($message, $code, $severity, $filename, $lineno, $context = array()) Parameters $message $code $severity $filename $lineno $context array getContext() Return Value array

ContainerInterface::getParameter()

mixed getParameter(string $name) Gets a parameter. Parameters string $name The parameter name Return Value mixed The parameter value Exceptions InvalidArgumentException if the parameter is not defined