GeneratorConfig

class GeneratorConfig Stores contextual information for resource bundle generation. Methods __construct($sourceDir, $icuVersion) addBundleWriter(string $targetDir, BundleWriterInterface $writer) Adds a writer to be used during the data conversion. BundleWriterInterface[] getBundleWriters() Returns the writers indexed by their output directories. string getSourceDir() Returns the directory where the source versions of the resource bundles are stored. string getIcuVers

Parser::parse()

Node parse(TokenStream $stream, array $names = array()) Converts a token stream to a node tree. The valid names is an array where the values are the names that the user can use in an expression. If the variable name in the compiled PHP code must be different, define it as the key. For instance, ['this' => 'container'] means that the variable 'container' can be used in the expression but the compiled code will use 'this'. Parameters TokenStream $stream A token stream instanc

InvalidArgumentException

class InvalidArgumentException extends InvalidArgumentException implements ExceptionInterface InvalidArgumentException for the Intl component.

User::getPassword()

string getPassword() Returns the password used to authenticate the user. This should be the encoded password. On authentication, a plain-text password will be salted, encoded, and then compared to this value. Return Value string The password

ResponseHeaderBag::getCookies()

array getCookies(string $format = self::COOKIES_FLAT) Returns an array with all cookies. Parameters string $format Return Value array Exceptions InvalidArgumentException When the $format is invalid

SessionHelper::getFlashes()

getFlashes()

ArrayKeyChoiceList deprecated::getChoicesForValues()

array getChoicesForValues(array $values) Returns the choices corresponding to the given values. The choices are returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values An array of choice values. Non-existing values in this array are ignored Return Value array An array of choices

Definition::setProperty()

setProperty($name, $value) Parameters $name $value

Cookie::fromString()

static Cookie fromString(string $cookie, string $url = null) Creates a Cookie instance from a Set-Cookie header value. Parameters string $cookie A Set-Cookie header value string $url The base URL Return Value Cookie A Cookie instance Exceptions InvalidArgumentException

CacheItem::validateKey()

static validateKey(string $key) Validates a cache key according to PSR-6. Parameters string $key The key to validate Exceptions InvalidArgumentException When $key is not valid.