FormConfigBuilder::validateName()

static validateName(string|int $name) Validates whether the given variable is a valid form name. Parameters string|int $name The tested form name Exceptions UnexpectedTypeException If the name is not a string or an integer. InvalidArgumentException If the name contains invalid characters.

ModelType

class ModelType extends AbstractType ModelType class. Methods buildForm(FormBuilderInterface $builder, array $options) Builds the form. buildView(FormView $view, FormInterface $form, array $options) Builds the form view. from AbstractType finishView(FormView $view, FormInterface $form, array $options) Finishes the form view. from AbstractType setDefaultOptions(OptionsResolverInterface $resolver) Sets the default options for this type. string|null|FormTypeInterface getPa

Bundle\FrameworkBundle\DataCollector

Classes RouterDataCollector RouterDataCollector.

FlashBagInterface::keys()

array keys() Returns a list of all defined types. Return Value array

ConfigCache

class ConfigCache extends ResourceCheckerConfigCache ConfigCache caches arbitrary content in files on disk. When in debug mode, those metadata resources that implement \Symfony\Component\Config\Resource\SelfCheckingResourceInterface will be used to check cache freshness. Methods __construct(string $file, bool $debug) string getPath() Gets the cache file path. from ResourceCheckerConfigCache bool isFresh() Checks if the cache is still fresh. write(string $content, array $me

Language

class Language extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. NO_SUCH_LANGUAGE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message Methods sta

FormFactoryBuilder::addExtension()

FormFactoryBuilderInterface addExtension(FormExtensionInterface $extension) Adds an extension to be loaded by the factory. Parameters FormExtensionInterface $extension The extension. Return Value FormFactoryBuilderInterface The builder.

AbstractBundle

class AbstractBundle implements ResourceBundleInterface Base class for {@link ResourceBundleInterface} implementations. Methods __construct(string $path, StructuredBundleReaderInterface $reader) Creates a bundle at the given path using the given reader for reading bundle entries. string[] getLocales() Returns the list of locales that this bundle supports. Details __construct(string $path, StructuredBundleReaderInterface $reader) Creates a

OrderedHashMapIterator::next()

next() {@inheritdoc}

TableHelper deprecated::setCellRowFormat()

TableHelper setCellRowFormat(string $cellRowFormat) Sets row cell format. Parameters string $cellRowFormat Return Value TableHelper