PercentToLocalizedStringTransformer::transform()

mixed transform(mixed $value) Transforms between a normalized format (integer or float) into a percentage value. Parameters mixed $value The value in the original representation Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not numeric or if the value could not be transformed.

FrameworkBundle::boot()

boot() Boots the Bundle.

FormFactoryBuilderInterface::addTypeGuessers()

FormFactoryBuilderInterface addTypeGuessers(array $typeGuessers) Adds a list of type guessers to the factory. Parameters array $typeGuessers The type guessers Return Value FormFactoryBuilderInterface The builder

ProgressBar::setBarWidth()

setBarWidth(int $size) Sets the progress bar width. Parameters int $size The progress bar size

Stopwatch::getEvent()

StopwatchEvent getEvent(string $name) Returns a specific event by name. Parameters string $name The event name Return Value StopwatchEvent A StopwatchEvent instance

Component\Locale

Namespaces Symfony\Component\Locale\ExceptionSymfony\Component\Locale\Stub Classes Locale deprecated Helper class for dealing with locale strings.

ParameterBag::add()

add(array $parameters) Adds parameters to the service container parameters. Parameters array $parameters An array of parameters

CsrfProviderInterface deprecated::generateCsrfToken()

string generateCsrfToken(string $intention) Generates a CSRF token for a page of your application. Parameters string $intention Some value that identifies the action intention (i.e. "authenticate"). Doesn't have to be a secret value. Return Value string The generated token

InputStream::close()

close() Closes the write buffer.

ValueInterface::prepend()

ValueInterface prepend(string $expr) Parameters string $expr Return Value ValueInterface