PHP Class Voodoo\Core\View\FlashMessage

Mostrar archivo Open project: voodoophp/voodoo

Public Methods

Method Description
__construct ( )
clear ( ) : TView Clear flash
get ( $type = null ) : type Get the flash
set ( string $message, string $type = self::TYPE_NOTICE, array $data = [] ) : TView Set the flash

Method Details

__construct() public method

public __construct ( )

clear() public method

Clear flash
public clear ( ) : TView
return TView

get() public method

Get the flash
public get ( $type = null ) : type
return type

set() public method

Set the flash
public set ( string $message, string $type = self::TYPE_NOTICE, array $data = [] ) : TView
$message string
$type string
$data array
return TView