PHP Class ManaPHP\Mvc\View\Flash\Adapter\Direct

Inheritance: extends ManaPHP\Mvc\View\Flash
Show file Open project: manaphp/manaphp

Protected Properties

Property Type Description
$_messages string[]

Public Methods

Method Description
_message ( string $type, string $message ) : void Outputs a message
_output ( $remove = true ) : void Prints the messages in the session flasher

Method Details

_message() public method

Outputs a message
public _message ( string $type, string $message ) : void
$type string
$message string
return void

_output() public method

Prints the messages in the session flasher
public _output ( $remove = true ) : void
$remove bool
return void

Property Details

$_messages protected property

protected string[] $_messages
return string[]