src/Single/Single.php
public function flashMessage($message)
	{
		$sessions = $this->getSessions()->getSessionSection('flash.message');
		$sessions->message = $message;
		$sessions->setExpiration('5 second');
		return $sessions->message;
	}
public function flashMessage($message)
	{
		$sessions = $this->getSessions()->getSessionSection('flash.message');
		$sessions->message = $message;
		$sessions->setExpiration('5 second');
		return $sessions->message;
	}
public function flashMessage ( $ message ) { $ sessions = $ this -> getSessions ( ) -> getSessionSection ( 'flash.message' ) ; $ sessions -> message = $ message ; $ sessions -> setExpiration ( '5 second' ) ; return $ sessions -> message ; }
Create flash message.
@param string $message
@return string
Create flash message .