diff --git a/src/Controller/Component/AuthComponent.php b/src/Controller/Component/AuthComponent.php index 4b810b863ff..7ad35d2df49 100644 --- a/src/Controller/Component/AuthComponent.php +++ b/src/Controller/Component/AuthComponent.php @@ -783,6 +783,13 @@ public function constructAuthenticate() 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) {