OptionsResolverInterface deprecated::setNormalizers()

OptionsResolverInterface setNormalizers(array $normalizers) Sets normalizers that are applied on resolved options. The normalizers should be closures with the following signature: function (Options $options, $value) The second parameter passed to the closure is the value of the option. The closure should return the normalized value. Parameters array $normalizers An array of closures. Return Value OptionsResolverInterface The resolver instance.

NumberFormatter::formatCurrency()

string formatCurrency(float $value, string $currency) Format a currency value. Parameters float $value The numeric currency value string $currency The 3-letter ISO 4217 currency code indicating the currency to use Return Value string The formatted currency value See also http://www.php.net/manual/en/numberformatter.formatcurrency.php https://en.wikipedia.org/wiki/ISO_4217#Active_codes

BufferedBundleReader

class BufferedBundleReader implements BundleReaderInterface Methods __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. mixed read(string $path, string $locale) Reads a resource bundle. Details __construct(BundleReaderInterface $reader, int $bufferSize) Buffers a given reader. Parameters BundleReaderInterface $reader The reader to buffer int $bufferSize The number of entries to store in the buffer.

FormConfigBuilder::getOption()

mixed getOption(string $name, mixed $default = null) Returns the value of a specific option. Parameters string $name The option name mixed $default The value returned if the option does not exist Return Value mixed The option value

FixUrlProtocolListener::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

ConstraintViolationListInterface::has()

bool has(int $offset) Returns whether the given offset exists. Parameters int $offset The violation offset Return Value bool Whether the offset exists

DayTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

Bundle\DebugBundle\DependencyInjection

Classes Configuration DebugExtension configuration structure. DebugExtension DebugExtension.

Stopwatch::stopSection()

stopSection(string $id) Stops the last started section. The id parameter is used to retrieve the events from this section. Parameters string $id The identifier of the section Exceptions LogicException When there's no started section to be stopped See also getSectionEvents()

TokenStream::expect()

expect(array|int $type, string|null $value = null, string|null $message = null) Tests a token. Parameters array|int $type The type to test string|null $value The token value string|null $message The syntax error message