ViolationPath::isProperty()

bool isProperty(int $index) Returns whether the element at the given index is a property. Parameters int $index The index in the property path Return Value bool Whether the element at this index is a property Exceptions OutOfBoundsException If the offset is invalid

StringCastException

class StringCastException extends RuntimeException

SymfonyStyle::note()

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

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

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

Process::getPid()

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

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

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

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