TemplateCacheCacheWarmer

class TemplateCacheCacheWarmer implements CacheWarmerInterface Generates the Twig cache for all templates. This warmer must be registered after TemplatePathsCacheWarmer, as the Twig loader will need the cache generated by it. Methods __construct(ContainerInterface $container, TemplateFinderInterface $finder = null, array $paths = array()) Constructor. warmUp(string $cacheDir) Warms up the cache. bool isOptional() Checks whether this warmer is optional or not. Details

DefinitionDecorator::setFile()

Definition setFile(string $file) Sets a file to require before creating the service. Parameters string $file A full pathname to include Return Value Definition The current instance

MutableAclProvider::deleteAcl()

deleteAcl(ObjectIdentityInterface $oid) Deletes the ACL for a given object identity. This will automatically trigger a delete for any child ACLs. If you don't want child ACLs to be deleted, you will have to set their parent ACL to null. Parameters ObjectIdentityInterface $oid

Locale::lookup()

static lookup(array $langtag, string $locale, bool $canonicalize = false, string $default = null) Not supported. Returns the closest language tag for the locale. Parameters array $langtag A list of the language tags to compare to locale string $locale The locale to use as the language range when matching bool $canonicalize If true, the arguments will be converted to canonical form before matching string $default The locale to use if no match is found Exceptions Meth

MutableAclInterface::setEntriesInheriting()

setEntriesInheriting(bool $boolean) Sets whether entries are inherited Parameters bool $boolean

TemplateCacheCacheWarmer::isOptional()

bool isOptional() Checks whether this warmer is optional or not. Return Value bool true if the warmer is optional, false otherwise

Process::getEnhanceWindowsCompatibility()

bool getEnhanceWindowsCompatibility() Gets whether or not Windows compatibility is enabled. This is true by default. Return Value bool

Command::getHelp()

string getHelp() Returns the help for the command. Return Value string The help for the command

Route

class Route Annotation class for @Route(). Methods __construct(array $data) Constructor. setPath($path) getPath() setHost($pattern) getHost() setName($name) getName() setRequirements($requirements) getRequirements() setOptions($options) getOptions() setDefaults($defaults) getDefaults() setSchemes($schemes) getSchemes() setMethods($methods) getMethods() setCondition($condition) getCo

ErrorHandler::register()

static ErrorHandler register(ErrorHandler $handler = null, bool $replace = true) Registers the error handler. Parameters ErrorHandler $handler The handler to register bool $replace Whether to replace or not any existing handler Return Value ErrorHandler The registered error handler