CsrfTokenManagerInterface::isTokenValid()

bool isTokenValid(CsrfToken $token) Returns whether the given CSRF token is valid. Parameters CsrfToken $token A CSRF token Return Value bool Returns true if the token is valid, false otherwise

Form::count()

int count() Returns the number of form children (implements the \Countable interface). Return Value int The number of embedded form children

ResourceCaster::castProcess()

static castProcess($process, array $a, Stub $stub, $isNested) Parameters $process array $a Stub $stub $isNested

Request::getServer()

array getServer() Gets the request server parameters. Return Value array The request server parameters

Definition::setDeprecated()

Definition setDeprecated(bool $status = true, string $template = null) Whether this definition is deprecated, that means it should not be called anymore. Parameters bool $status 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.

OptionsResolverInterface deprecated::replaceDefaults()

OptionsResolverInterface replaceDefaults(array $defaultValues) Replaces default option values. Old defaults are erased, which means that closures passed here cannot access the previous default value. This may be useful to improve performance if the previous default value is calculated by an expensive closure. Parameters array $defaultValues A list of option names as keys and default values or closures as values. Return Value OptionsResolverInterface The resolver instance.

StringHandler

class StringHandler implements HandlerInterface CSS selector comment handler. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods __construct(TokenizerPatterns $patterns, TokenizerEscaping $escaping) bool handle(Reader $reader, TokenStream $stream) Details __construct(TokenizerPatterns $patterns, TokenizerEscaping $escaping) Parameters TokenizerPa

ResourceCaster::castStreamContext()

static castStreamContext($stream, array $a, Stub $stub, $isNested) Parameters $stream array $a Stub $stub $isNested

LdapInterface::bind()

bind(string $dn = null, string $password = null) Return a connection bound to the ldap. Parameters string $dn A LDAP dn string $password A password Exceptions ConnectionException If dn / password could not be bound.

OrderedHashMap::getIterator()

getIterator() {@inheritdoc}