FormInterface

interface FormInterface implements Iterator, FormInterface Methods FormInterface setParent(FormInterface $parent = null) Sets the parent form. from FormInterface FormInterface|null getParent() Returns the parent form. from FormInterface FormInterface add(FormInterface|string|int $child, string|null $type = null, array $options = array()) Adds or replaces a child to the form. from FormInterface FormInterface get(string $name) Returns the child with the given name. from FormInte

TimedTwigEngine deprecated

class TimedTwigEngine extends TwigEngine deprecated since version 2.7, to be removed in 3.0. Use the Twig native profiler instead. Times the time spent to render a template. Methods __construct(Twig_Environment $environment, TemplateNameParserInterface $parser, FileLocatorInterface $locator, Stopwatch $stopwatch) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. stream(string|TemplateReferenceInterface $name

Ip

class Ip extends Constraint Validates that a value is a valid IP address. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. V4 V6 ALL V4_NO_PRIV V6_NO_PRIV ALL_NO_PRIV V4_NO_RES V6_NO_RES ALL_NO_RES V4_ONLY_PUBLIC V6_ONLY_PUBLIC ALL_ONLY_PUBLIC INVALID_IP

JsonResponse

class JsonResponse extends Response Response represents an HTTP response in JSON format. Note that this class does not force the returned JSON content to be an object. It is however recommended that you do return an object as it protects yourself against XSSI and JSON-JavaScript Hijacking. Constants HTTP_CONTINUE HTTP_SWITCHING_PROTOCOLS HTTP_PROCESSING HTTP_OK HTTP_CREATED HTTP_ACCEPTED HTTP_NON_AUTHORITATIVE_INFORMATION HTTP_NO_CONTENT HTTP_RESET_CONTENT

Entry::removeAttribute()

removeAttribute(string $name) Removes a given attribute. Parameters string $name

Type

class Type extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. INVALID_TYPE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message $type Methods s

AdvancedUserInterface

interface AdvancedUserInterface implements UserInterface Adds extra features to a user class related to account status flags. This interface can be implemented in place of UserInterface if you'd like the authentication system to consider different account status flags during authentication. If any of the methods in this interface return false, authentication will fail. If you need to perform custom logic for any of these situations, then you will need to register an exception listener and wa

DebugFormatterHelper

class DebugFormatterHelper extends Helper Helps outputting debug information when running an external program from a command. An external program can be a Process, an HTTP request, or anything else. Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associated with this helper. from Helper static int strlen(string $string) Returns the length of a string, using mb_strwidth if i

PhpFileLoader

class PhpFileLoader extends FileLoader PhpFileLoader loads routes from a PHP file. The file must return a RouteCollection instance. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve

Form

class Form extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NOT_SYNCHRONIZED_ERROR NO_SUCH_FIELD_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint Metho