ValidatorBuilderInterface::getValidator()

ValidatorInterface getValidator() Builds and returns a new validator object. Return Value ValidatorInterface The built validator

Bundle\TwigBundle\DependencyInjection\Configurator

Classes EnvironmentConfigurator Twig environment configurator.

ValidateRequestListener::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

AdvancedUserInterface::isEnabled()

bool isEnabled() Checks whether the user is enabled. Internally, if this method returns false, the authentication system will throw a DisabledException and prevent login. Return Value bool true if the user is enabled, false otherwise See also DisabledException

ExecutionContext::buildViolation()

ConstraintViolationBuilderInterface buildViolation(string $message, array $parameters = array()) Returns a builder for adding a violation with extended information. Call {@link ConstraintViolationBuilderInterface::addViolation()} to add the violation when you're done with the configuration: $context->buildViolation('Please enter a number between %min% and %max%.') ->setParameter('%min%', 3) ->setParameter('%max%', 10) ->setTranslationDomain('number_valida

ExpressionLanguage

class ExpressionLanguage extends ExpressionLanguage Adds some function to the default ExpressionLanguage. Methods __construct(ParserCacheInterface $cache = null, array $providers = array()) string compile(Expression|string $expression, array $names = array()) Compiles an expression source code. from ExpressionLanguage string evaluate(Expression|string $expression, array $values = array()) Evaluate an expression. from ExpressionLanguage ParsedExpression parse(Expression|stri

AclSchemaListener

class AclSchemaListener Merges ACL schema into the given schema. Methods __construct(Schema $schema) postGenerateSchema(GenerateSchemaEventArgs $args) Details __construct(Schema $schema) Parameters Schema $schema postGenerateSchema(GenerateSchemaEventArgs $args) Parameters GenerateSchemaEventArgs $args

ExecutionContextInterface deprecated::getPropertyName()

string|null getPropertyName() Returns the property name of the current node. If the metadata of the current node does not implement {@link PropertyMetadataInterface} or if no metadata is available for the current node, this method returns null. Return Value string|null The property name or null, if no property name could be found.

ButtonBuilder::addViewTransformer()

FormConfigBuilderInterface addViewTransformer(DataTransformerInterface $viewTransformer, bool $forcePrepend = false) Unsupported method. This method should not be invoked. Parameters DataTransformerInterface $viewTransformer bool $forcePrepend if set to true, prepend instead of appending Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

ValidatorTypeGuesser::guessPattern()

ValueGuess|null guessPattern(string $class, string $property) Returns a guess about the field's pattern. When you have a min value, you guess a min length of this min (LOW_CONFIDENCE) , lines below If this value is a float type, this is wrong so you guess null with MEDIUM_CONFIDENCE to override the previous guess. Example: You want a float greater than 5, 4.512313 is not valid but length(4.512314) > length(5) Parameters string $class The fully qualified class name string $