src/Colorium/Stateful/Auth.php
public static function user()
    {
        if(!static::$user and static::$factory) {
            $id = static::provider()->get('id');
            static::$user = call_user_func(static::$factory, $id);
        }

        return static::$user;
    }
public static function user()
    {
        if(!static::$user and static::$factory) {
            $id = static::provider()->get('id');
            static::$user = call_user_func(static::$factory, $id);
        }

        return static::$user;
    }
public static function user ( ) { if ( ! static :: $ user and static :: $ factory ) { $ id = static :: provider ( ) -> get ( 'id' ) ; static :: $ user = call_user_func ( static :: $ factory , $ id ) ; } return static :: $ user ; }
Get user object

@return object
Get user object