ServiceNotFoundException

class ServiceNotFoundException extends InvalidArgumentException This exception is thrown when a non-existent service is requested. Methods __construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array()) getId() getSourceId() Details __construct($id, $sourceId = null, Exception $previous = null, array $alternatives = array()) Parameters $id $sourceId Exception $previous array $alternatives

BundleInterface::shutdown()

shutdown() Shutdowns the Bundle.

Finder::ignoreVCS()

Finder|SplFileInfo[] ignoreVCS(bool $ignoreVCS) Forces the finder to ignore version control directories. Parameters bool $ignoreVCS Whether to exclude VCS files or not Return Value Finder|SplFileInfo[] The current Finder instance See also ExcludeDirectoryFilterIterator

Button::getParent()

FormInterface|null getParent() Returns the parent form. Return Value FormInterface|null The parent form or null if there is none

MetadataBag::stampNew()

stampNew(int $lifetime = null) Stamps a new session's metadata. Parameters 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.

StringUtil::fqcnToBlockPrefix()

static string|null fqcnToBlockPrefix(string $fqcn) Converts a fully-qualified class name to a block prefix. Parameters string $fqcn The fully-qualified class name Return Value string|null The block prefix or null if not a valid FQCN

MetadataBag::initialize()

initialize(array $array) Initializes the Bag. Parameters array $array

Bundle\TwigBundle\TokenParser

Classes RenderTokenParser Token Parser for the render tag.

SessionInterface::start()

bool start() Starts the session storage. Return Value bool True if session started Exceptions RuntimeException If session fails to start.

Session::remove()

mixed remove(string $name) Removes an attribute. Parameters string $name Return Value mixed The removed value or null when it does not exist