AclAlreadyExistsException

class AclAlreadyExistsException extends Exception This exception is thrown when someone tries to create an ACL for an object identity that already has one.

FormThemeTokenParser

class FormThemeTokenParser extends Twig_TokenParser Token Parser for the 'form_theme' tag. Methods Twig_Node parse(Twig_Token $token) Parses a token and returns a node. string getTag() Gets the tag name associated with this token parser. Details Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance stri

FormTypeInterface

interface 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. string|null getPare

CsrfTokenManager::refreshToken()

CsrfToken refreshToken(string $tokenId) Generates a new token value for the given ID. This method will generate a new token for the given token ID, independent of whether a token value previously existed or not. It can be used to enforce once-only tokens in environments with high security needs. Parameters string $tokenId The token ID. You may choose an arbitrary value for the ID Return Value CsrfToken The CSRF token

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

Hour2401Transformer::normalizeHour()

int normalizeHour(int $hour, string $marker = null) Returns a normalized hour value suitable for the hour transformer type. Parameters int $hour The hour value string $marker An optional AM/PM marker Return Value int The normalized hour value

ValidationVisitor deprecated

class ValidationVisitor implements ValidationVisitorInterface, GlobalExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Default implementation of {@link ValidationVisitorInterface} and {@link GlobalExecutionContextInterface}. Methods __construct(mixed $root, MetadataFactoryInterface $metadataFactory, ConstraintValidatorFactoryInterface $validatorFactory, TranslatorInterface $translator, string|null $translationDomain = null, array $objectInitializers = arra

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

ProgressBar::getProgressPercent()

float getProgressPercent() Gets the current progress bar percent. Return Value float The current progress bar percent

BasePasswordEncoder

class BasePasswordEncoder implements PasswordEncoderInterface BasePasswordEncoder is the base class for all password encoders. Constants MAX_PASSWORD_LENGTH