ExpressionValidator

class ExpressionValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator __construct($propertyAccessor = null, ExpressionLanguage $expressionLanguage = null) validate(mixed $value, Constraint $c

DumpNode

class DumpNode extends Twig_Node Methods __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) compile(Twig_Compiler $compiler) {@inheritdoc} Details __construct($varPrefix, Twig_Node $values = null, $lineno, $tag = null) Parameters $varPrefix Twig_Node $values $lineno $tag compile(Twig_Compiler $compiler) {@inheritdoc} Parameters Twig_Compiler $compiler

GenericMetadata::addConstraints()

GenericMetadata addConstraints(array $constraints) Adds an list of constraints. Parameters array $constraints The constraints to add Return Value GenericMetadata This object

EncoderFactoryInterface

interface EncoderFactoryInterface EncoderFactoryInterface to support different encoders for different accounts. Methods PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. Details PasswordEncoderInterface getEncoder(UserInterface|string $user) Returns the password encoder to use for the given account. Parameters UserInterface|string $user A UserInterface instance or a cla

Descriptor

class Descriptor implements DescriptorInterface Methods describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Details describe(OutputInterface $output, object $object, array $options = array()) Describes an InputArgument instance. Parameters OutputInterface $output object $object array $options

Component\Security\Csrf\TokenStorage

Classes NativeSessionTokenStorage Token storage that uses PHP's native session handling. SessionTokenStorage Token storage that uses a Symfony2 Session object. Interfaces TokenStorageInterface Stores CSRF tokens.

Ldap

class Ldap implements LdapInterface Methods __construct(AdapterInterface $adapter) bind(string $dn = null, string $password = null) Return a connection bound to the ldap. QueryInterface query(string $dn, string $query, array $options = array()) Queries a ldap server for entries matching the given criteria. EntryManagerInterface getEntryManager() string escape(string $subject, string $ignore = '', int $flags) Escape a string for use in an LDAP filter or DN. static L

OutputFormatterStyle

class OutputFormatterStyle implements OutputFormatterStyleInterface Formatter style class for defining styles. Methods __construct(string|null $foreground = null, string|null $background = null, array $options = array()) Initializes output formatter style. setForeground(string $color = null) Sets style foreground color. setBackground(string $color = null) Sets style background color. setOption(string $option) Sets some specific style option. unsetOption(string $option

NativeSessionStorage::getBag()

SessionBagInterface getBag(string $name) Gets a SessionBagInterface by name. Parameters string $name Return Value SessionBagInterface Exceptions InvalidArgumentException If the bag does not exist

NodeExtension::translateSelector()

XPathExpr translateSelector(SelectorNode $node, Translator $translator) Parameters SelectorNode $node Translator $translator Return Value XPathExpr