RequestDataCollector::getSubscribedEvents()

static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priority)) a

ParameterBag::has()

bool has(string $key) Returns true if the parameter is defined. Parameters string $key The key Return Value bool true if the parameter exists, false otherwise

RequestDataCollector::getRouteParams()

array getRouteParams() Gets the route parameters. The routeparams request attributes is automatically set by the RouterListener. Return Value array The parameters

ConfigDataCollector::getPhpVersion()

string getPhpVersion() Gets the PHP version. Return Value string The PHP version

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

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

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

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

Application

class Application An Application is the container for a collection of commands. It is the main entry point of a Console application. This class is optimized for a standard CLI environment. Usage: $app = new Application('myapp', '1.0 (stable)'); $app->add(new SimpleCommand()); $app->run(); Methods __construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') Constructor. setDispatcher(EventDispatcherInterface $dispatcher) int run(InputInterface $input = null, Output