RememberMeAuthenticationProvider::authenticate()

TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. Parameters TokenInterface $token The TokenInterface instance to authenticate Return Value TokenInterface An authenticated TokenInterface instance, never null Exceptions AuthenticationException if the authentication fails

RememberMeAuthenticationProvider

class RememberMeAuthenticationProvider implements AuthenticationProviderInterface Methods __construct(UserCheckerInterface $userChecker, string $secret, string $providerKey) Constructor. TokenInterface authenticate(TokenInterface $token) Attempts to authenticate a TokenInterface object. bool supports(TokenInterface $token) Checks whether this provider supports the given token. Details __construct(UserCheckerInterface $userChecker, string $secret,

RelativePath

class RelativePath extends PropertyPath Constants SINGULAR_SEPARATOR Character used for separating between plural and singular of an element. Methods __construct(FormInterface $root, PropertyPath|string $propertyPath) string __toString() Returns the string representation of the property path from PropertyPath integer getLength() Returns the length of the property path, i.e. the number of elements. from PropertyPath PropertyPath getParent() Returns the parent property pat

RegistryInterface::resetEntityManager()

EntityManager resetEntityManager(string $name = null) Resets a named entity manager. This method is useful when an entity manager has been closed because of a rollbacked transaction AND when you think that it makes sense to get a new one to replace the closed one. Be warned that you will get a brand new entity manager as the existing one is not useable anymore. This means that any other object with a dependency on this entity manager will hold an obsolete reference. You can injec

RegistryInterface::getEntityNamespace()

string getEntityNamespace(string $alias) Resolves a registered namespace alias to the full namespace. This method looks for the alias in all registered entity managers. Parameters string $alias The alias Return Value string The full namespace See also Configuration::getEntityNamespace

RegistryInterface::getEntityManagers()

array getEntityManagers() Gets an array of all registered entity managers. Return Value array An array of EntityManager instances

RegistryInterface::getEntityManagerNames()

array getEntityManagerNames() Gets all connection names. Return Value array An array of connection names

RegistryInterface::getEntityManagerForClass()

EntityManager|null getEntityManagerForClass(string $class) Gets the entity manager associated with a given class. Parameters string $class A Doctrine Entity class name Return Value EntityManager|null

RegistryInterface::getEntityManager()

EntityManager getEntityManager(string $name = null) Gets a named entity manager. Parameters string $name The entity manager name (null for the default one) Return Value EntityManager

RegistryInterface::getDefaultEntityManagerName()

string getDefaultEntityManagerName() Gets the default entity manager name. Return Value string The default entity manager name