src/Leevel/Session/Session.php
public function getFlash(string $key, $defaults = null)
    {
        if (false !== strpos($key, '\\')) {
            return $this->getPartData($key, $defaults, 'flash');
        }

        return $this->get(
            $this->flashDataKey($key),
            $defaults
        );
    }
public function getFlash(string $key, $defaults = null)
    {
        if (false !== strpos($key, '\\')) {
            return $this->getPartData($key, $defaults, 'flash');
        }

        return $this->get(
            $this->flashDataKey($key),
            $defaults
        );
    }
返回闪存数据.

@param string $key
@param mixed  $defaults

@return mixed