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

PropertyPathMapper

class PropertyPathMapper implements DataMapperInterface Maps arrays/objects to/from forms using property paths. Methods __construct(PropertyAccessorInterface $propertyAccessor = null) Creates a new property path mapper. mapDataToForms(mixed $data, FormInterface[] $forms) Maps properties of some data to a list of forms. mapFormsToData(FormInterface[] $forms, mixed $data) Maps the data of a list of forms into the properties of some data. Details _

GuardAuthenticationProvider::supports()

bool supports(TokenInterface $token) Checks whether this provider supports the given token. Parameters TokenInterface $token A TokenInterface instance Return Value bool true if the implementation supports the Token, false otherwise

Translator::addAttributeMatching()

XPathExpr addAttributeMatching(XPathExpr $xpath, string $operator, string $attribute, string $value) Parameters XPathExpr $xpath string $operator string $attribute string $value Return Value XPathExpr Exceptions ExpressionErrorException

OutputFormatter

class OutputFormatter implements OutputFormatterInterface Formatter class for console output. Methods static string escape(string $text) Escapes "<" special char in given text. __construct(bool $decorated = false, array $styles = array()) Initializes console output formatter. setDecorated(bool $decorated) Sets the decorated flag. bool isDecorated() Gets the decorated flag. setStyle(string $name, OutputFormatterStyleInterface $style) Sets a new style. bool hasS

UserAuthenticationProvider

class UserAuthenticationProvider implements AuthenticationProviderInterface UserProviderInterface retrieves users for UsernamePasswordToken tokens. Methods __construct(UserCheckerInterface $userChecker, string $providerKey, bool $hideUserNotFoundExceptions = true) Constructor. TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. bool supports(TokenInterface $token) Checks whether this provider supports the given token. Details

AmPmTransformer deprecated

class AmPmTransformer extends AmPmTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\AmPmTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from AmPmTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regul