ConfigurableRequirementsInterface::isStrictRequirements()

bool|null isStrictRequirements() Returns whether to throw an exception on incorrect parameters. Null means the requirements check is deactivated completely. Return Value bool|null

CsrfTokenManagerInterface

interface CsrfTokenManagerInterface Manages CSRF tokens. Methods CsrfToken getToken(string $tokenId) Returns a CSRF token for the given ID. CsrfToken refreshToken(string $tokenId) Generates a new token value for the given ID. string|null removeToken(string $tokenId) Invalidates the CSRF token with the given ID, if one exists. bool isTokenValid(CsrfToken $token) Returns whether the given CSRF token is valid. Details CsrfToken getToken(string

StringInput

class StringInput extends ArgvInput StringInput represents an input provided as a string. Usage: $input = new StringInput('foo --bar="foobar"'); Constants REGEX_STRING REGEX_QUOTED_STRING Methods __construct(string $input) Constructor. bind(InputDefinition $definition) Binds the current Input instance with the given arguments and options. from Input validate() Validates if arguments given are correct. from Input bool isInteractive() Is this input means interactive

Process::isSuccessful()

bool isSuccessful() Checks if the process ended successfully. Return Value bool true if the process ended successfully, false otherwise

CacheClearerInterface

interface CacheClearerInterface CacheClearerInterface. Methods clear(string $cacheDir) Clears any caches necessary. Details clear(string $cacheDir) Clears any caches necessary. Parameters string $cacheDir The cache directory

CoreAssetsHelper deprecated

class CoreAssetsHelper extends Helper implements PackageInterface deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. CoreAssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(PackageInterface $defaultPackage, array $namedPackages = array()) Constructor. setDefaultPackage(PackageInterface $defaultPackage) Se

UserPasswordEncoder

class UserPasswordEncoder implements UserPasswordEncoderInterface A generic password encoder. Methods __construct(EncoderFactoryInterface $encoderFactory) string encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. bool isPasswordValid(UserInterface $user, string $raw) Details __construct(EncoderFactoryInterface $encoderFactory) Parameters EncoderFactoryInterface $encoderFactory The encoder factory

MemberMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

StoreInterface

interface StoreInterface Interface implemented by HTTP cache stores. Methods Response|null lookup(Request $request) Locates a cached Response for the Request provided. string write(Request $request, Response $response) Writes a cache entry to the store for the given Request and Response. invalidate(Request $request) Invalidates all cache entries that match the request. bool|string lock(Request $request) Locks the cache for a given Request. bool unlock(Request $request

SessionStorageInterface::getBag()

SessionBagInterface getBag(string $name) Gets a SessionBagInterface by name. Parameters string $name Return Value SessionBagInterface Exceptions InvalidArgumentException If the bag does not exist