TokenStorage::setToken()

setToken(TokenInterface $token = null) Sets the authentication token. Parameters TokenInterface $token A TokenInterface token, or null if no further authentication information should be stored

TrueValidator deprecated

class TrueValidator extends IsTrueValidator deprecated since version 2.7, to be removed in 3.0. Use IsTrueValidator instead. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator validate(mixed $value, Constraint $constraint) Check

EntityUserProvider

class EntityUserProvider implements UserProviderInterface Wrapper around a Doctrine ObjectManager. Provides easy to use provisioning for Doctrine entity users. Methods __construct(ManagerRegistry $registry, $classOrAlias, $property = null, $managerName = null) UserInterface loadUserByUsername(string $username) Loads the user for the given username. UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. bool supportsClass(string $class

PropertyAccessor::isWritable()

bool isWritable(object|array $objectOrArray, string|PropertyPathInterface $propertyPath) Returns whether a value can be written at a given property path. Whenever this method returns true, {@link setValue()} is guaranteed not to throw an exception when called with the same arguments. Parameters object|array $objectOrArray The object or array to check string|PropertyPathInterface $propertyPath The property path to check Return Value bool Whether the value can be set Exceptions

UnprocessableEntityHttpException

class UnprocessableEntityHttpException extends HttpException UnprocessableEntityHttpException. Methods __construct($message = null, Exception $previous = null, $code) Constructor. int getStatusCode() Returns the status code. from HttpException array getHeaders() Returns response headers. from HttpException Details __construct($message = null, Exception $previous = null, $code) Constructor. Parameters $message Exception $previous

MutableAclInterface::insertObjectAce()

insertObjectAce(SecurityIdentityInterface $sid, int $mask, int $index, bool $granting = true, string $strategy = null) Inserts an object-based ACE Parameters SecurityIdentityInterface $sid int $mask int $index bool $granting string $strategy

FormTypeCsrfExtension::getExtendedType()

string getExtendedType() Returns the name of the type being extended. Return Value string The name of the type being extended

MoneyToLocalizedStringTransformer::transform()

mixed transform(mixed $value) Transforms a normalized format into a localized money string. Parameters mixed $value The value in the original representation Return Value mixed The value in the transformed representation Exceptions TransformationFailedException If the given value is not numeric or if the value can not be transformed.

Component\Console\Logger

Classes ConsoleLogger PSR-3 compliant console logger

OptionsResolverInterface deprecated::setNormalizers()

OptionsResolverInterface setNormalizers(array $normalizers) Sets normalizers that are applied on resolved options. The normalizers should be closures with the following signature: function (Options $options, $value) The second parameter passed to the closure is the value of the option. The closure should return the normalized value. Parameters array $normalizers An array of closures. Return Value OptionsResolverInterface The resolver instance.