Alert


The alert agent class provides a simple way to show alerts.


Methods


success(string $message, [integer $time = 3000)


Show success alert message


Alert::success('Message here...');

warning(string $message, [integer $time = 3000)


Show warning alert message


Alert::warning('Message here...');

error(string $message, [integer $time = 3000)


Show error alert message


Alert::error('Message here...');