NotIdenticalTo

class NotIdenticalTo extends AbstractComparison 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. IS_IDENTICAL_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 $v

ParameterBag::add()

add(array $parameters = array()) Adds parameters. Parameters array $parameters An array of parameters

Form::getRoot()

FormInterface getRoot() Returns the root of the form tree. Return Value FormInterface The root of the tree

OperationInterface::getNewMessages()

array getNewMessages(string $domain) Returns new messages ('new') after operation. Parameters string $domain Return Value array

GlobalExecutionContextInterface deprecated::getValidatorFactory()

ConstraintValidatorFactoryInterface getValidatorFactory() Returns the factory for constraint validators. Return Value ConstraintValidatorFactoryInterface The constraint validator factory.

SecurityEvents

class SecurityEvents Constants INTERACTIVE_LOGIN The INTERACTIVE_LOGIN event occurs after a user is logged in interactively for authentication based on http, cookies or X509. SWITCH_USER The SWITCH_USER event occurs before switch to another user and before exit from an already switched user.

BufferedOutput

class BufferedOutput extends Output Methods __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, OutputFormatterInterface $formatter = null) Constructor. from Output setFormatter(OutputFormatterInterface $formatter) Sets output formatter. from Output OutputFormatterInterface getFormatter() Returns current output formatter instance. from Output setDecorated(bool $decorated) Sets the decorated flag. from Output bool isDecorated() Gets the decorated fl

HeaderBag::has()

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

ContainerInterface::initialized()

bool initialized(string $id) Check for whether or not a service has been initialized. Parameters string $id Return Value bool true if the service has been initialized, false otherwise

TwigExtension::getNamespace()

string getNamespace() Returns the namespace to be used for this extension (XML namespace). Return Value string The XML namespace