Verified Commit 4453f44a authored by larowlan's avatar larowlan
Browse files

Issue #2936253 by gabesullice: Clarify usage of AccountProxyInterface:...

Issue #2936253 by gabesullice: Clarify usage of AccountProxyInterface: recommend AccountInterface for most use cases
parent e15fce6d
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
/** /**
* Defines an interface for a service which has the current account stored. * Defines an interface for a service which has the current account stored.
* *
* It is generally more useful to use \Drupal\Core\Session\AccountInterface
* unless one specifically needs the proxying features of this interface.
*
* @see \Drupal\Core\Session\AccountInterface
*
* @ingroup user_api * @ingroup user_api
*/ */
interface AccountProxyInterface extends AccountInterface { interface AccountProxyInterface extends AccountInterface {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment