DataCollectorListener::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

InputOption::getShortcut()

string getShortcut() Returns the option shortcut. Return Value string The shortcut

LogoutUrlExtension::getName()

getName() {@inheritdoc}

FormErrorIterator::rewind()

rewind() Sets the iterator's position to the beginning. This method detects if errors have been added to the form since the construction of the iterator.

LanguageType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

ProgressIndicator::getPlaceholderFormatterDefinition()

static callable|null getPlaceholderFormatterDefinition(string $name) Gets the placeholder formatter for a given name. Parameters string $name The placeholder name (including the delimiter char like %) Return Value callable|null A PHP callable

BaseMemcacheProfilerStorage deprecated::purge()

purge() Purges all data from the database.

FrozenParameterBag

class FrozenParameterBag extends ParameterBag Holds read-only parameters. Methods __construct(array $parameters = array()) For performance reasons, the constructor assumes that all keys are already lowercased. clear() Clears all parameters. add(array $parameters) Adds parameters to the service container parameters. array all() Gets the service container parameters. from ParameterBag mixed get(string $name) Gets a service container parameter. from ParameterBag set(s

MetadataFactoryInterface deprecated

interface MetadataFactoryInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Mapping\Factory\MetadataFactoryInterface} instead. Returns {@link MetadataInterface} instances for values. Methods MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. Details MetadataInterface getMetadataFor(

ControllerReference

class ControllerReference Acts as a marker and a data holder for a Controller. Some methods in Symfony accept both a URI (as a string) or a controller as an argument. In the latter case, instead of passing an array representing the controller, you can use an instance of this class. Properties $controller $attributes $query Methods __construct(string $controller, array $attributes = array(), array $query = array()) Constructor. Details __cons