PhpGeneratorDumper

class PhpGeneratorDumper extends GeneratorDumper PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes. Methods __construct(RouteCollection $routes) Constructor. from GeneratorDumper RouteCollection getRoutes() Gets the routes to dump. from GeneratorDumper string dump(array $options = array()) Dumps a set of routes to a PHP class. Details __construct(RouteCollection $routes) Constructor. Parameters Ro

FormTypeGuesserInterface::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 $

LessThanOrEqualValidator

class LessThanOrEqualValidator extends AbstractComparisonValidator Validates values are less than or equal to the previous (<=). 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 validate(mixed $value, Constraint $constraint)

Component\Form\Extension\Core\EventListener

Classes FixCheckboxInputListener Takes care of converting the input from a list of checkboxes to a correctly indexed array. FixRadioInputListener Takes care of converting the input from a single radio button to an array. FixUrlProtocolListener Adds a protocol to a URL if it doesn't already have one. MergeCollectionListener ResizeFormListener Resize a collection form element based on the data sent from the client. TrimListener Trims string data

CachingFactoryDecorator::getDecoratedFactory()

ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory. Return Value ChoiceListFactoryInterface The decorated factory

FormTypeExtensionInterface::finishView()

finishView(FormView $view, FormInterface $form, array $options) Finishes the view. This method is called after the extended type has finished the view to further modify it. Parameters FormView $view The view FormInterface $form The form array $options The options See also FormTypeInterface::finishView()

MutableAclProviderInterface::updateAcl()

updateAcl(MutableAclInterface $acl) Persists any changes which were made to the ACL, or any associated access control entries. Changes to parent ACLs are not persisted. Parameters MutableAclInterface $acl

HandlerInterface

interface HandlerInterface CSS selector handler interface. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods bool handle(Reader $reader, TokenStream $stream) Details bool handle(Reader $reader, TokenStream $stream) Parameters Reader $reader TokenStream $stream Return Value bool

ShellCommandFailureException deprecated

class ShellCommandFailureException extends AdapterFailureException deprecated since 2.8, to be removed in 3.0. Methods __construct(AdapterInterface $adapter, Command $command, Exception $previous = null) AdapterInterface getAdapter() from AdapterFailureException Command getCommand() Details __construct(AdapterInterface $adapter, Command $command, Exception $previous = null) Parameters AdapterInterface $adapter Command $command

Component\DependencyInjection\Compiler

Classes AnalyzeServiceReferencesPass Run this pass before passes that need to know more about the relation of your services. CheckCircularReferencesPass Checks your services for circular references CheckDefinitionValidityPass This pass validates each definition individually only taking the information into account which is contained in the definition itself. CheckExceptionOnInvalidReferenceBehaviorPass Checks that all references are pointing to a valid service. CheckReferenceVa