FormFactoryInterface::createNamedBuilder()

FormBuilderInterface createNamedBuilder(string|int $name, string $type = 'Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType', mixed $data = null, array $options = array()) Returns a form builder. Parameters string|int $name The name of the form string $type The type of the form mixed $data The initial data array $options The options Return Value FormBuilderInterface The form builder Exceptions InvalidOptionsException if any given option is not applicable to the given t

MongoDbProfilerStorage deprecated::find()

array find(string $ip, string $url, string $limit, string $method, int|null $start = null, int|null $end = null) Finds profiler tokens for the given criteria. Parameters string $ip The IP string $url The URL string $limit The maximum number of tokens to return string $method The request method int|null $start The start date to search from int|null $end The end date to search to Return Value array An array of tokens

TranslationNodeVisitor::disable()

disable()

Validation::createValidatorBuilder()

static ValidatorBuilderInterface createValidatorBuilder() Creates a configurable builder for validator objects. Return Value ValidatorBuilderInterface The new builder

Profiler::purge()

purge() Purges all data from the storage.

AbstractFactory::addOption()

final addOption($name, $default = null) Parameters $name $default

RequestContext

class RequestContext Holds information about the current request. This class implements a fluent interface. Methods __construct(string $baseUrl = '', string $method = 'GET', string $host = 'localhost', string $scheme = 'http', int $httpPort = 80, int $httpsPort = 443, string $path = '/', string $queryString = '') Constructor. RequestContext fromRequest(Request $request) Updates the RequestContext information based on a HttpFoundation Request. string getBaseUrl() Gets the base U

Component\Routing\Loader

Classes AnnotationClassLoader AnnotationClassLoader loads routing information from a PHP class and its methods. AnnotationDirectoryLoader AnnotationDirectoryLoader loads routing information from annotations set on PHP classes and methods. AnnotationFileLoader AnnotationFileLoader loads routing information from annotations set on a PHP class and its methods. ClosureLoader ClosureLoader loads routes from a PHP closure. PhpFileLoader PhpFileLoader loads routes from a PHP file.

PermissionGrantingStrategyInterface::isFieldGranted()

bool isFieldGranted(AclInterface $acl, string $field, array $masks, array $sids, bool $administrativeMode = false) Determines whether access to a domain object's field is to be granted Parameters AclInterface $acl string $field array $masks array $sids bool $administrativeMode Return Value bool

Component\Form\Extension\Validator

Namespaces Symfony\Component\Form\Extension\Validator\ConstraintsSymfony\Component\Form\Extension\Validator\EventListenerSymfony\Component\Form\Extension\Validator\TypeSymfony\Component\Form\Extension\Validator\UtilSymfony\Component\Form\Extension\Validator\ViolationMapper Classes ValidatorExtension Extension supporting the Symfony2 Validator component in forms. ValidatorTypeGuesser