CurrencyDataProvider

class CurrencyDataProvider Data provider for currency-related data. Constants INDEX_SYMBOL INDEX_NAME INDEX_FRACTION_DIGITS INDEX_ROUNDING_INCREMENT Methods __construct(string $path, BundleEntryReaderInterface $reader) Creates a data provider that reads currency-related data from a resource bundle. getCurrencies() getSymbol($currency, $displayLocale = null) getName($currency, $displayLocale = null) getNames($displayLocale = null) getFraction

ViolationPath::getParent()

PropertyPath getParent() Returns the parent property path. The parent property path is the one that contains the same items as this one except for the last one. If this property path only contains one item, null is returned. Return Value PropertyPath The parent path or null

ScriptDataGenerator

class ScriptDataGenerator extends AbstractDataGenerator The rule for compiling the script bundle. Methods __construct(GenrbCompiler $compiler, $dirName) from AbstractDataGenerator generateData(GeneratorConfig $config) {@inheritdoc} from AbstractDataGenerator Details __construct(GenrbCompiler $compiler, $dirName) Parameters GenrbCompiler $compiler $dirName generateData(GeneratorConfig $config) {

AttributeBag::clear()

mixed clear() Clears out data from bag. Return Value mixed Whatever data was contained.

SlotsHelper::start()

start(string $name) Starts a new slot. This method starts an output buffer that will be closed when the stop() method is called. Parameters string $name The slot name Exceptions InvalidArgumentException if a slot with the same name is already started

Choice

class Choice 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_CHOICE_ERROR TOO_FEW_ERROR TOO_MANY_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Const

ExecutionContextInterface deprecated::getViolations()

ConstraintViolationListInterface getViolations() Returns the violations generated by the validator so far. Return Value ConstraintViolationListInterface The constraint violation list.

FormInterface::add()

FormInterface add(FormInterface|string|int $child, string|null $type = null, array $options = array()) Adds or replaces a child to the form. Parameters FormInterface|string|int $child The FormInterface instance or the name of the child string|null $type The child's type, if a name was passed array $options The child's options, if a name was passed Return Value FormInterface The form instance Exceptions AlreadySubmittedException If the form has already been submitted. LogicExc

ButtonBuilder::setDataMapper()

FormConfigBuilderInterface setDataMapper(DataMapperInterface $dataMapper = null) Unsupported method. This method should not be invoked. Parameters DataMapperInterface $dataMapper Return Value FormConfigBuilderInterface The configuration object Exceptions BadMethodCallException

LogoutUrlExtension::getLogoutPath()

string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. Parameters string|null $key The firewall key or null to use the current firewall key Return Value string The relative logout URL