Browse Source

Add docblock

ADmad 10 years ago
parent
commit
0f36379348
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/Controller/Component/AuthComponent.php

+ 7 - 0
src/Controller/Component/AuthComponent.php

@@ -783,6 +783,13 @@ class AuthComponent extends Component
         return $this->_authenticateObjects;
     }
 
+    /**
+     * Get/set user record storage object.
+     *
+     * @param \Cake\Auth\Storage\StorageInterface|null $storage Sets provided
+     *   object as storage or if null returns configuread storage object.
+     * @return \Cake\Auth\Storage\StorageInterface|null
+     */
     public function storage(StorageInterface $storage = null)
     {
         if ($storage !== null) {