MoneyType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form

YamlFileLoader

class YamlFileLoader extends FileLoader YamlFileLoader loads translations from Yaml files. Methods MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. from FileLoader Details MessageCatalogue load(mixed $resource, string $locale, string $domain = 'messages') Loads a locale. Parameters mixed $resource A resource string $locale A locale string $domain The domain Return Value MessageCatalogue A Mess

ParameterCircularReferenceException

class ParameterCircularReferenceException extends RuntimeException This exception is thrown when a circular reference in a parameter is detected. Methods __construct($parameters, Exception $previous = null) getParameters() Details __construct($parameters, Exception $previous = null) Parameters $parameters Exception $previous getParameters()

Component\Form\ChoiceList

Namespaces Symfony\Component\Form\ChoiceList\FactorySymfony\Component\Form\ChoiceList\LoaderSymfony\Component\Form\ChoiceList\View Classes ArrayChoiceList A list of choices with arbitrary data types. ArrayKeyChoiceList deprecated A list of choices that can be stored in the keys of a PHP array. LazyChoiceList A choice list that loads its choices lazily. LegacyChoiceListAdapter deprecated Adapts a legacy choice list implementation to {@link ChoiceListInterface}. Interfaces Ch

LogoutHandlerInterface

interface LogoutHandlerInterface Interface that needs to be implemented by LogoutHandlers. Methods logout(Request $request, Response $response, TokenInterface $token) This method is called by the LogoutListener when a user has requested to be logged out. Usually, you would unset session variables, or remove cookies, etc. Details logout(Request $request, Response $response, TokenInterface $token) This method is called by the LogoutListener when

ExpressionLanguage

class ExpressionLanguage Allows to compile and evaluate expressions written in your own DSL. Methods __construct(ParserCacheInterface $cache = null, array $providers = array()) string compile(Expression|string $expression, array $names = array()) Compiles an expression source code. string evaluate(Expression|string $expression, array $values = array()) Evaluate an expression. ParsedExpression parse(Expression|string $expression, array $names) Parses an expression. re

Validator deprecated::validateProperty()

ConstraintViolationListInterface validateProperty(mixed $containingValue, string $property, array|null $groups = null) Validates a property of a value against its current value. The accepted values depend on the {@link MetadataFactoryInterface} implementation. Parameters mixed $containingValue The value containing the property. string $property The name of the property to validate. array|null $groups The validation groups to validate. Return Value ConstraintViolationListInterf

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.

DelegatingEngine::renderResponse()

Response renderResponse(string $view, array $parameters = array(), Response $response = null) Renders a view and returns a Response. Parameters string $view The view name array $parameters An array of parameters to pass to the view Response $response A Response instance Return Value Response A Response instance Exceptions RuntimeException if the template cannot be rendered

LanguageBundle::getScriptName()

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