source/Core/Base.php
public function getUser()
    {
        if (self::$_oActUser === null) {
            self::$_oActUser = false;
            $user = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
            if ($user->loadActiveUser()) {
                self::$_oActUser = $user;
            }
        }

        return self::$_oActUser;
    }
public function getUser()
    {
        if (self::$_oActUser === null) {
            self::$_oActUser = false;
            $user = oxNew(\OxidEsales\Eshop\Application\Model\User::class);
            if ($user->loadActiveUser()) {
                self::$_oActUser = $user;
            }
        }

        return self::$_oActUser;
    }
public function getUser ( ) { if ( self :: $ _oActUser === null ) { self :: $ _oActUser = false ; $ user = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ User :: class ) ; if ( $ user -> loadActiveUser ( ) ) { self :: $ _oActUser = $ user ; } } return self :: $ _oActUser ; }
Active user getter

@return \OxidEsales\Eshop\Application\Model\User
Active user getter