Source of file User.php
Size: 0,459 Bytes - Last Modified: 2017-11-08T13:54:24+00:00
/home/travis/build/bluzphp/framework/src/Controller/Helper/User.php
1234567891011121314151617181920212223242526272829 | <?php /** * Bluz Framework Component * * @copyright Bluz PHP Team * @link https://github.com/bluzphp/framework */ declare(strict_types=1); namespace Bluz\Controller\Helper; use Bluz\Auth\EntityInterface; use Bluz\Controller\Controller; use Bluz\Proxy\Auth; /** * Get current user * * @return EntityInterface|null */ return function () { /** * @var Controller $this */ return Auth::getIdentity(); }; |