OrderedHashMapIterator::valid()

valid() {@inheritdoc}

PostAuthenticationGuardToken

class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenInterface Used as an "authenticated" token, though it could be set to not-authenticated later. If you're using Guard authentication, you must use a class that implements GuardTokenInterface as your authenticated token (like this class). Methods __construct(UserInterface $user, string $providerKey, array $roles) RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername()

LanguageDataProvider::getAliases()

getAliases()

AppVariable::getEnvironment()

string getEnvironment() Returns the current app environment. Return Value string The current environment string (e.g 'dev')

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

FormBuilder::has()

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

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.