浏览代码

[Security/Core] added missing method to interface

Johannes M. Schmitt 14 年之前
父节点
当前提交
90b63ca346

+ 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