Input

class Input implements InputInterface Input is the base class for all concrete Input classes. Three concrete classes are provided by default: ArgvInput: The input comes from the CLI arguments (argv) StringInput: The input is provided as a string ArrayInput: The input is provided as an array Methods __construct(InputDefinition $definition = null) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. validate() Va

LegacyConstraintViolationBuilder deprecated

class LegacyConstraintViolationBuilder implements ConstraintViolationBuilderInterface deprecated since version 2.5.5, to be removed in 3.0. Backwards-compatible implementation of {@link ConstraintViolationBuilderInterface}. Methods __construct(ExecutionContextInterface $context, $message, array $parameters) ConstraintViolationBuilderInterface atPath(string $path) Stores the property path at which the violation should be generated. ConstraintViolationBuilderInterface setPar

ServerStatusCommand

class ServerStatusCommand extends ServerCommand Shows the status of a process that is running PHP's built-in web server in the background. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet

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

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

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