HttpFoundationExtension::generateAbsoluteUrl()

string generateAbsoluteUrl(string $path) Returns the absolute URL for the given absolute or relative path. This method returns the path unchanged if no request is available. Parameters string $path The path Return Value string The absolute URL See also Request::getUriForPath()

AdapterInterface deprecated::setDates()

AdapterInterface setDates(array $dates) Parameters array $dates Return Value AdapterInterface Current instance

Translator::setConfigCacheFactory()

setConfigCacheFactory(ConfigCacheFactoryInterface $configCacheFactory) Sets the ConfigCache factory to use. Parameters ConfigCacheFactoryInterface $configCacheFactory

CachingFactoryDecorator::getDecoratedFactory()

ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory

ChoiceList deprecated::getIndicesForChoices()

array getIndicesForChoices(array $choices) deprecated deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given choices. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $choi

Crawler::first()

Crawler first() Returns the first node of the current selection. Return Value Crawler A Crawler instance with the first selected node

DateTimeToArrayTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a localized date into a normalized date. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not an array, if the value could not be transformed

InputDefinition::getOption()

InputOption getOption(string $name) Returns an InputOption by name. Parameters string $name The InputOption name Return Value InputOption A InputOption object Exceptions InvalidArgumentException When option given doesn't exist

Acl::getId()

int getId() Returns the primary key of this ACL Return Value int

Route::addRequirements()

Route addRequirements(array $requirements) Adds requirements. This method implements a fluent interface. Parameters array $requirements The requirements Return Value Route The current Route instance