FormFactoryBuilder::addTypeExtensions()

FormFactoryBuilderInterface addTypeExtensions(array $typeExtensions) Adds a list of form type extensions to the factory. Parameters array $typeExtensions The form type extensions. Return Value FormFactoryBuilderInterface The builder.

MutableAclInterface::deleteObjectAce()

deleteObjectAce(int $index) Deletes an object-based ACE Parameters int $index

ExecutionContext deprecated::addViolation()

addViolation(string $message, array $params = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null) Adds a violation at the current node of the validation graph. Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0. Parameters string $message The error message array $params The parameters substituted in the error message mixed $invalidValue The invalid, validated value int|null $plural The n

Input::hasOption()

bool hasOption(string $name) Returns true if an InputOption object exists by name. Parameters string $name The InputOption name Return Value bool true if the InputOption object exists, false otherwise

ExprBuilder

class ExprBuilder This class builds an if expression. Properties $ifPart $thenPart Methods __construct(NodeDefinition $node) Constructor. ExprBuilder always(Closure $then = null) Marks the expression as being always used. ExprBuilder ifTrue(Closure $closure = null) Sets a closure to use as tests. ExprBuilder ifString() Tests if the value is a string. ExprBuilder ifNull() Tests if the value is null. ExprBuilder ifArray() Tests if the value is an array.

FormBuilder::has()

bool has(string $name) Returns whether a field with the given name exists. Parameters string $name Return Value bool

ExecutionContextInterface deprecated::getGroup()

string getGroup() Returns the validation group that is currently being validated. Return Value string The current validation group.

CacheWarmerAggregate::enableOptionalWarmers()

enableOptionalWarmers()

DirectoryResource::isFresh()

bool isFresh(int $timestamp) Returns true if the resource has not been updated since the given timestamp. Parameters int $timestamp The last time the resource was loaded Return Value bool True if the resource has not been updated, false otherwise

ConsoleHandler

class ConsoleHandler extends AbstractProcessingHandler implements EventSubscriberInterface Writes logs to the console output depending on its verbosity setting. It is disabled by default and gets activated as soon as a command is executed. Instead of listening to the console events, the output can also be set manually. The minimum logging level at which this handler will be triggered depends on the verbosity setting of the console output. The default mapping is: - OutputInterface::VERBOSITYN