/** * Read the current session using the driver set in the config file */ public static function read() { if (is_null(static::$cargo)) { $driver = static::factory(Config::session()); static::$cargo = new Cargo($driver, Config::app('key')); } static::instance()->read(); }