public static function put($name, $object, $lifetime = null)
    {
        static::isOn(true);

        if (is_null($lifetime)) {
            $lifetime = config('storage.session_lifetime');
        }

        if ($lifetime > 0) {
            $lifetime = time() + $lifetime;
        }

        $item = ['name' => $name, 'object' => $object, 'lifetime' => $lifetime];

        static::$register[$name] = $item;

        static::save();

        return true;
    }