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

AbstractType::buildForm()

buildForm(FormBuilderInterface $builder, array $options) Builds the form. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the form. Parameters FormBuilderInterface $builder The form builder array $options The options

AbstractType

class AbstractType implements FormTypeInterface Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. configureOptions(OptionsResolver $resolver) Configures the options for this type. string getBlockPrefix() Returns the prefix of the template block name for this type. s

AbstractToken::unserialize()

unserialize($serialized) {@inheritdoc} Parameters $serialized

AbstractToken::setUser()

setUser(mixed $user) Sets the user in the token. The user can be a UserInterface instance, or an object implementing a __toString method or the username as a regular string. Parameters mixed $user Exceptions InvalidArgumentException

AbstractToken::setAuthenticated()

setAuthenticated($authenticated) Sets the authenticated flag. Parameters $authenticated

AbstractToken::setAttributes()

setAttributes(array $attributes) Sets the token attributes. Parameters array $attributes The token attributes

AbstractToken::setAttribute()

setAttribute(string $name, mixed $value) Sets an attribute. Parameters string $name The attribute name mixed $value The attribute value

AbstractToken::serialize()

serialize() {@inheritdoc}

AbstractToken::isAuthenticated()

bool isAuthenticated() Returns whether the user is authenticated or not. Return Value bool true if the token has been authenticated, false otherwise