UploadValidatorExtension

class UploadValidatorExtension extends AbstractTypeExtension Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. from AbstractTypeExtension buildView(FormView $view, FormInterface $form, array $options) Builds the view. from AbstractTypeExtension finishView(FormView $view, FormInterface $form, array $options) Finishes the view. from AbstractTypeExtension configureOptions(OptionsResolver $resolver) Configures the options for this type. __constr

ContextErrorException

class ContextErrorException extends ErrorException Error Exception with Variable Context. Methods __construct($message, $code, $severity, $filename, $lineno, $context = array()) array getContext() Details __construct($message, $code, $severity, $filename, $lineno, $context = array()) Parameters $message $code $severity $filename $lineno $context array getContext() Return Value array

ContextualValidatorInterface

interface ContextualValidatorInterface A validator in a specific execution context. Methods ContextualValidatorInterface atPath(string $path) Appends the given path to the property path of the context. ContextualValidatorInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null $groups = null) Validates a value against a constraint or a list of constraints. ContextualValidatorInterface validateProperty(object $object, string $propertyName, array|n

ControllerArgumentValueResolverPass

class ControllerArgumentValueResolverPass implements CompilerPassInterface Gathers and configures the argument value resolvers. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

WebProcessor

class WebProcessor extends WebProcessor WebProcessor override to read from the HttpFoundation's Request. Methods __construct(array $extraFields = null) onKernelRequest(GetResponseEvent $event) Details __construct(array $extraFields = null) Parameters array $extraFields onKernelRequest(GetResponseEvent $event) Parameters GetResponseEvent $event

PreviewErrorController

class PreviewErrorController PreviewErrorController can be used to test error pages. It will create a test exception and forward it to another controller. Methods __construct(HttpKernelInterface $kernel, $controller) previewErrorPageAction(Request $request, $code) Details __construct(HttpKernelInterface $kernel, $controller) Parameters HttpKernelInterface $kernel $controller previewErrorPageAction(Reque

LoggingTranslator::trans()

string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. Parameters string $id The message id (may also be an object that can be cast to string) array $parameters An array of parameters for the message string|null $domain The domain for the message or null to use the default string|null $locale The locale or null to use the default Return Value string The translated string Exceptions InvalidArgum

HelperInterface

interface HelperInterface HelperInterface is the interface all helpers must implement. Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. HelperSet getHelperSet() Gets the helper set associated with this helper. string getName() Returns the canonical name of this helper. Details setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. Parameters Helpe

RenderTokenParser deprecated::parse()

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

FormFactoryInterface

interface FormFactoryInterface Methods FormInterface create(string $type = 'Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType', mixed $data = null, array $options = array()) Returns a form. FormInterface createNamed(string|int $name, string $type = 'Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType', mixed $data = null, array $options = array()) Returns a form. FormInterface createForProperty(string $class, string $property, mixed $data = null, array $options = ar