FormConfigBuilder::addEventSubscriber()

FormConfigBuilderInterface addEventSubscriber(EventSubscriberInterface $subscriber) Adds an event subscriber for events on this form. Parameters EventSubscriberInterface $subscriber The subscriber to attach Return Value FormConfigBuilderInterface The configuration object

FunctionNode

class FunctionNode extends AbstractNode Represents a ":()" node. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods string getNodeName() from AbstractNode __construct(NodeInterface $selector, string $name, array $arguments = array()) NodeInterface getSelector() string getName() Token[] getArguments() Specificity getSpecificity() Returns node's specificity. string

AdapterInterface deprecated::setFilters()

AdapterInterface setFilters(array $filters) Parameters array $filters Return Value AdapterInterface Current instance

RegionBundle::getCountryName()

string|null getCountryName(string $country, string $displayLocale = null) Returns the name of a country. Parameters string $country A country code (e.g. "US"). string $displayLocale Optional. The locale to return the name in. Defaults to {@link \Locale::getDefault()}. Return Value string|null The name of the country or NULL if not found.

LanguageType

class LanguageType extends AbstractType Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractType buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of

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

LazyChoiceList deprecated::getValuesForChoices()

array getValuesForChoices(array $choices) Returns the values corresponding to the given choices. The values must be strings. The values must be returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $choices An array of choices. Not existing choices in this array are ignored Return Value array An array of choice values with ascending, 0-based numeric keys

FormExtension::renderCsrfToken()

renderCsrfToken($tokenId) {@inheritdoc} Parameters $tokenId

DoctrineAclCache::getFromCacheById()

AclInterface getFromCacheById($aclId) Retrieves an ACL for the given object identity primary key from the cache Parameters $aclId Return Value AclInterface

PropertyPath

class PropertyPath implements IteratorAggregate, PropertyPathInterface Default implementation of {@link PropertyPathInterface}. Constants SINGULAR_SEPARATOR Character used for separating between plural and singular of an element. Methods __construct(PropertyPath|string $propertyPath) Constructs a property path from a string. string __toString() Returns the string representation of the property path. int getLength() Returns the length of the property path, i.e. the number o