NumberFormatter

class NumberFormatter Replacement for PHP's native {@link \NumberFormatter} class. The only methods currently supported in this class are: {@link __construct} {@link create} {@link formatCurrency} {@link format} {@link getAttribute} {@link getErrorCode} {@link getErrorMessage} {@link getLocale} {@link parse} {@link setAttribute} Constants PATTERN_DECIMAL DECIMAL CURRENCY PERCENT SCIENTIFIC SPELLOUT ORDINAL DURATION PATTERN_RULEBASED IGNORE DEFAULT_STY

ConsoleCommandEvent

class ConsoleCommandEvent extends ConsoleEvent Allows to do things before the command is executed, like skipping the command or changing the input. Constants RETURN_CODE_DISABLED The return code for skipped commands, this will also be passed into the terminate event. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event setDispatch

AttributeMetadataInterface::merge()

merge(AttributeMetadataInterface $attributeMetadata) Merges an {see AttributeMetadataInterface} with in the current one. Parameters AttributeMetadataInterface $attributeMetadata

StubCaster

class StubCaster Casts a caster's Stub. Methods static castStub(Stub $c, array $a, Stub $stub, $isNested) static castCutArray(CutArrayStub $c, array $a, Stub $stub, $isNested) static cutInternals($obj, array $a, Stub $stub, $isNested) static castEnum(EnumStub $c, array $a, Stub $stub, $isNested) Details static castStub(Stub $c, array $a, Stub $stub, $isNested) Parameters Stub $c array $a Stub $stub $isNested

BundleInterface::build()

build(ContainerBuilder $container) Builds the bundle. It is only ever called once when the cache is empty. Parameters ContainerBuilder $container A ContainerBuilder instance

ParserInterface

interface ParserInterface CSS selector parser interface. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods SelectorNode[] parse(string $source) Parses given selector source into an array of tokens. Details SelectorNode[] parse(string $source) Parses given selector source into an array of tokens. Parameters string $source Return Value SelectorNode[]

ContainerBuilder::getExtension()

ExtensionInterface getExtension(string $name) Returns an extension by alias or namespace. Parameters string $name An alias or a namespace Return Value ExtensionInterface An extension instance Exceptions LogicException if the extension is not registered

DateValidator

class DateValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. PATTERN Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator static bool checkDate(int $year, int $month, int $day) Checks whether a date is valid. validate(mixed $value, Constr

MockArraySessionStorage::setSessionData()

setSessionData(array $array) Sets the session data. Parameters array $array

Component\Finder\Iterator

Classes CustomFilterIterator CustomFilterIterator filters files by applying anonymous functions. DateRangeFilterIterator DateRangeFilterIterator filters out files that are not in the given date range (last modified dates). DepthRangeFilterIterator DepthRangeFilterIterator limits the directory depth. ExcludeDirectoryFilterIterator ExcludeDirectoryFilterIterator filters out directories. FilePathsIterator Iterate over shell command result. FileTypeFilterIterator FileTypeFilt