EventDispatcher::removeListener()

removeListener(string $eventName, callable $listener) Removes an event listener from the specified events. Parameters string $eventName The event to remove a listener from callable $listener The listener to remove

ResourceCheckerInterface::isFresh()

bool isFresh(ResourceInterface $resource, int $timestamp) Validates the resource. Parameters ResourceInterface $resource The resource to be validated int $timestamp The timestamp at which the cache associated with this resource was created Return Value bool True if the resource has not changed since the given timestamp, false otherwise

RouteCollection::addDefaults()

addDefaults(array $defaults) Adds defaults to all routes. An existing default value under the same name in a route will be overridden. Parameters array $defaults An array of default values

UploadValidatorExtension::getExtendedType()

string getExtendedType() Returns the name of the type being extended. Return Value string The name of the type being extended

ProgressBar::getBarWidth()

int getBarWidth() Gets the progress bar width. Return Value int The progress bar size

MessageDataCollector deprecated::getMessages()

getMessages()

RegionBundle::getLocales()

string[] getLocales() Returns the list of locales that this bundle supports. Return Value string[] A list of locale codes.

ResourceCheckerConfigCache::write()

write(string $content, array $metadata = null) Writes cache. Parameters string $content The content to write into the cache array $metadata An array of ResourceInterface instances Exceptions RuntimeException When cache file can't be written

BundleInterface::boot()

boot() Boots the Bundle.

LazyChoiceList deprecated

class LazyChoiceList implements ChoiceListInterface deprecated since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\LazyChoiceList} instead. A choice list that is loaded lazily. This list loads itself as soon as any of the getters is accessed for the first time. You should implement loadChoiceList() in your child classes, which should return a ChoiceListInterface instance. Methods array getChoices() Returns the list of choices. array getValues()