Request::getSchemeAndHttpHost()

string getSchemeAndHttpHost() Gets the scheme and HTTP host. If the URL was called with basic authentication, the user and the password are not added to the generated string. Return Value string The scheme and HTTP host

Command::mergeApplicationDefinition()

mergeApplicationDefinition(bool $mergeArgs = true) Merges the application definition with the command definition. This method is not part of public API and should not be used directly. Parameters bool $mergeArgs Whether to merge or not the Application definition arguments to Command definition arguments

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

MergeCollectionListener

class MergeCollectionListener implements EventSubscriberInterface Methods __construct(bool $allowAdd = false, bool $allowDelete = false) Creates a new listener. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. onSubmit(FormEvent $event) Details __construct(bool $allowAdd = false, bool $allowDelete = false) Creates a new listener. Parameters bool $allowAdd Whether values might be

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.