NumberFormatter::create()

static NumberFormatter create(string $locale = 'en', int $style = null, string $pattern = null) Static constructor. Parameters string $locale The locale code. The only supported locale is "en" (or null using the default locale, i.e. "en") int $style Style of the formatting, one of the format style constants The only currently supported styles are NumberFormatter::DECIMAL and NumberFormatter::CURRENCY. string $pattern Not supported. A pattern string in case $style is

Command::ignoreValidationErrors()

ignoreValidationErrors() Ignores validation errors. This is mainly useful for the help command.

XmlDescriptor::getInputDefinitionDocument()

DOMDocument getInputDefinitionDocument(InputDefinition $definition) Parameters InputDefinition $definition Return Value DOMDocument

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