Преглед на файлове

[Security/Core] added missing method to interface

Johannes M. Schmitt преди 14 години
родител
ревизия
90b63ca346
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      src/Symfony/Component/Security/Core/Authentication/RememberMe/PersistentTokenInterface.php

+ 6 - 0
src/Symfony/Component/Security/Core/Authentication/RememberMe/PersistentTokenInterface.php

@@ -19,6 +19,12 @@ namespace Symfony\Component\Security\Core\Authentication\RememberMe;
  */
 interface PersistentTokenInterface
 {
+    /**
+     * Returns the class of the user
+     * @return string
+     */
+    function getClass();
+
     /**
      * Returns the username
      * @return string