src/Session/Session.php
protected function moveFlash()
    {
        if (!isset($_SESSION[static::FLASH_NEXT])) {
            $_SESSION[static::FLASH_NEXT] = [];
        }
        $_SESSION[static::FLASH_NOW] = $_SESSION[static::FLASH_NEXT];
        $_SESSION[static::FLASH_NEXT] = [];
        $this->flashMoved = true;
    }
protected function moveFlash()
    {
        if (!isset($_SESSION[static::FLASH_NEXT])) {
            $_SESSION[static::FLASH_NEXT] = [];
        }
        $_SESSION[static::FLASH_NOW] = $_SESSION[static::FLASH_NEXT];
        $_SESSION[static::FLASH_NEXT] = [];
        $this->flashMoved = true;
    }
protected function moveFlash ( ) { if ( ! isset ( $ _SESSION [ static :: FLASH_NEXT ] ) ) { $ _SESSION [ static :: FLASH_NEXT ] = [ ] ; } $ _SESSION [ static :: FLASH_NOW ] = $ _SESSION [ static :: FLASH_NEXT ] ; $ _SESSION [ static :: FLASH_NEXT ] = [ ] ; $ this -> flashMoved = true ; }
Moves the "next" flash values to the "now" values, thereby clearing the
"next" values.
Moves the next flash values to the now values thereby clearing the next values .