Component\Security\Acl\Dbal

Classes AclProvider An ACL provider implementation. MutableAclProvider An implementation of the MutableAclProviderInterface using Doctrine DBAL. Schema The schema used for the ACL system.

FormFactoryBuilder::addTypeGuessers()

FormFactoryBuilderInterface addTypeGuessers(array $typeGuessers) Adds a list of type guessers to the factory. Parameters array $typeGuessers The type guessers. Return Value FormFactoryBuilderInterface The builder.

AccessMap::add()

add(RequestMatcherInterface $requestMatcher, array $attributes = array(), string|null $channel = null) Constructor. Parameters RequestMatcherInterface $requestMatcher A RequestMatcherInterface instance array $attributes An array of attributes to pass to the access decision manager (like roles) string|null $channel The channel to enforce (http, https, or null)

UniqueEntity::getDefaultOption()

string getDefaultOption() Returns the name of the default option. Override this method to define a default option. Return Value string

RecursiveValidator::inContext()

ContextualValidatorInterface inContext(ExecutionContextInterface $context) Returns a validator in the given execution context. The returned validator adds all generated violations to the given context. Parameters ExecutionContextInterface $context The execution context Return Value ContextualValidatorInterface The validator for that context

DefinitionDecorator::setDeprecated()

Definition setDeprecated($boolean = true, string $template = null) Whether this definition is deprecated, that means it should not be called anymore. Parameters $boolean string $template Template message to use if the definition is deprecated Return Value Definition the current instance Exceptions InvalidArgumentException When the message template is invalid.

DataDumperInterface

interface DataDumperInterface DataDumperInterface for dumping Data objects. Methods dump(Data $data) Dumps a Data object. Details dump(Data $data) Dumps a Data object. Parameters Data $data A Data object

ArrayToPartsTransformer::transform()

mixed transform($array) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept this val

MonthTransformer deprecated

class MonthTransformer extends MonthTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MonthTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\MonthTransformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from MonthTransformer string getReverseMatchingRegExp(int $length) Returns a reverse matching

CollectionType::buildView()

buildView(FormView $view, FormInterface $form, array $options) Builds the form view. This method is called for each type in the hierarchy starting from the top most type. Type extensions can further modify the view. A view of a form is built before the views of the child forms are built. This means that you cannot access child views in this method. If you need to do so, move your logic to {@link finishView()} instead. Parameters FormView $view The view FormInterface $form The form