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

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

MutableAclProvider::findAcls()

SplObjectStorage findAcls(array $oids, array $sids = array()) Returns the ACLs that belong to the given object identities Parameters array $oids an array of ObjectIdentityInterface implementations array $sids an array of SecurityIdentityInterface implementations Return Value SplObjectStorage mapping the passed object identities to ACLs Exceptions AclNotFoundException when we cannot find an ACL for all identities

Process::getPid()

int|null getPid() Returns the Pid (process identifier), if applicable. Return Value int|null The process id if running, null otherwise

ArgumentValueResolverInterface

interface ArgumentValueResolverInterface Responsible for resolving the value of an argument based on its metadata. Methods bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver can resolve the value for the given ArgumentMetadata. Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Details bool supports(Request $request, ArgumentMetadata $argument) Whether this resolver

DialogHelper deprecated::setInputStream()

setInputStream(resource $stream) Sets the input stream to read from when interacting with the user. This is mainly useful for testing purpose. Parameters resource $stream The input stream

SymfonyStyle::note()

note(string|array $message) Formats a note admonition. Parameters string|array $message

StringCastException

class StringCastException extends RuntimeException

OptionsResolver::addAllowedValues()

OptionsResolver addAllowedValues(string $option, mixed $allowedValues) Adds allowed values for an option. The values are merged with the allowed values defined previously. Instead of passing values, you may also pass a closures with the following signature: function ($value) { // return true or false } The closure receives the value as argument and should return true to accept the value and false to reject the value. Parameters string $option The option name mixed $allowe

HttpDigestFactory::getKey()

string getKey() Defines the configuration key used to reference the provider in the firewall configuration. Return Value string