ContainerBuilder::findDefinition()

Definition findDefinition(string $id) Gets a service definition by id or alias. The method "unaliases" recursively to return a Definition instance. Parameters string $id The service identifier or alias Return Value Definition A Definition instance Exceptions ServiceNotFoundException if the service definition does not exist

UnexpectedTypeException

class UnexpectedTypeException extends InvalidArgumentException Methods __construct($value, $expectedType) Details __construct($value, $expectedType) Parameters $value $expectedType

Request::getContent()

string|resource getContent(bool $asResource = false) Returns the request body content. Parameters bool $asResource If true, a resource will be returned Return Value string|resource The request body content or a resource to read the body stream Exceptions LogicException

MessageCatalogue::addCatalogue()

addCatalogue(MessageCatalogueInterface $catalogue) Merges translations from the given Catalogue into the current one. The two catalogues must have the same locale. Parameters MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance

DelegatingLoader

class DelegatingLoader extends Loader DelegatingLoader delegates loading to other loaders using a loader resolver. This loader acts as an array of LoaderInterface objects - each having a chance to load a given resource (handled by the resolver) 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 reso

TranslationDataCollector::lateCollect()

lateCollect() Collects data as late as possible.

AbstractAdapter

class AbstractAdapter implements AdapterInterface, LoggerAwareInterface Traits LoggerAwareTrait Methods static createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null) getItem($key) {@inheritdoc} getItems(array $keys = array()) {@inheritdoc} hasItem($key) {@inheritdoc} clear() {@inheritdoc} deleteItem($key) {@inheritdoc} deleteItems(array $keys) {@inheritdoc} save(CacheItemInterface $item) {@inheritdoc}

LocaleBundleTransformationRule::afterCompile()

afterCompile(CompilationContextInterface $context) Runs instructions to be executed after compiling the sources of the resource bundle. Parameters CompilationContextInterface $context The contextual information of the compilation.

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

DigestAuthenticationEntryPoint

class DigestAuthenticationEntryPoint implements AuthenticationEntryPointInterface DigestAuthenticationEntryPoint starts an HTTP Digest authentication. Methods __construct($realmName, $secret, $nonceValiditySeconds = 300, LoggerInterface $logger = null) Response start(Request $request, AuthenticationException $authException = null) Returns a response that directs the user to authenticate. string getSecret() string getRealmName() Details _