src/Session.php
public function getFlash($identifier = null, $fallback = null) {
		$value = $this->arrayGet(self::$_data, '_session_class._flash.' . $this->section . ($identifier !== null ? '.' . $identifier : ''), $fallback);
		if ($value !== null) {
			$this->arrayDelete(self::$_data, '_session_class._flash.' . $this->section . ($identifier !== null ? '.' . $identifier : ''));
		}
		return $value;
	}
public function getFlash($identifier = null, $fallback = null) {
		$value = $this->arrayGet(self::$_data, '_session_class._flash.' . $this->section . ($identifier !== null ? '.' . $identifier : ''), $fallback);
		if ($value !== null) {
			$this->arrayDelete(self::$_data, '_session_class._flash.' . $this->section . ($identifier !== null ? '.' . $identifier : ''));
		}
		return $value;
	}
public function getFlash ( $ identifier = null , $ fallback = null ) { $ value = $ this -> arrayGet ( self :: $ _data , '_session_class._flash.' . $ this -> section . ( $ identifier !== null ? '.' . $ identifier : '' ) , $ fallback ) ; if ( $ value !== null ) { $ this -> arrayDelete ( self :: $ _data , '_session_class._flash.' . $ this -> section . ( $ identifier !== null ? '.' . $ identifier : '' ) ) ; } return $ value ; }
Retrieves session data saved with a given identifier and removes the data from the session.

@param string $identifier	The identifier you have used on setting the data.
@param mixed $fallback The return value if the identifier was not found.
@return mixed 	The requested data.
Retrieves session data saved with a given identifier and removes the data from the session .