checkPassword() checkPassword( $password) Check a string against a the user password Parameters $password
getRoles() getRoles() : \Thelia\Core\Security\User\Role[] Returns the roles granted to the user. public function getRoles() { return array('USER'); } Returns \Thelia\Core\Security\User\Role[] — The user roles
eraseCredentials() eraseCredentials() : void Removes sensitive data from the user. This is important if, at any given point, sensitive information like the plain-text password is stored on this object.