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

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

OptionsResolverInterface deprecated::replaceDefaults()

OptionsResolverInterface replaceDefaults(array $defaultValues) Replaces default option values. Old defaults are erased, which means that closures passed here cannot access the previous default value. This may be useful to improve performance if the previous default value is calculated by an expensive closure. Parameters array $defaultValues A list of option names as keys and default values or closures as values. Return Value OptionsResolverInterface The resolver instance.

FormTypeGuesserChain::guessRequired()

ValueGuess guessRequired(string $class, string $property) Returns a guess whether a property of a class is required. Parameters string $class The fully qualified class name string $property The name of the property to guess for Return Value ValueGuess A guess for the field's required setting

OptionsResolverInterface deprecated::setRequired()

OptionsResolverInterface setRequired(array $optionNames) Sets required options. If these options are not passed to {@link resolve()} and no default has been set for them, an exception will be thrown. Parameters array $optionNames A list of option names. Return Value OptionsResolverInterface The resolver instance.

FormFieldRegistry

class FormFieldRegistry This is an internal class that must not be used directly. Methods add(FormField $field) Adds a field to the registry. remove(string $name) Removes a field and its children from the registry. mixed get(string $name) Returns the value of the field and its children. bool has(string $name) Tests whether the form has the given field. set(string $name, mixed $value) Set the value of a field and its children. FormField[] all() Returns the list of

Component\Asset\VersionStrategy

Classes EmptyVersionStrategy Disable version for all assets. StaticVersionStrategy Returns the same version for all assets. Interfaces VersionStrategyInterface Asset version strategy interface.

Acl::isSidLoaded()

bool isSidLoaded($sids) Whether the ACL has loaded ACEs for all of the passed security identities Parameters $sids Return Value bool

StopwatchEvent::start()

StopwatchEvent start() Starts a new event period. Return Value StopwatchEvent The event

StringUtil

class StringUtil Methods static string trim(string $string) Returns the trimmed data. static string|null fqcnToBlockPrefix(string $fqcn) Converts a fully-qualified class name to a block prefix. Details static string trim(string $string) Returns the trimmed data. Parameters string $string Return Value string static string|null fqcnToBlockPrefix(string $fqcn) Converts a fully-qualified class name to