Notfound
extends Component
in package
Table of Contents
- $message : string
- $type : string
- __construct() : void
- Create a new Notfound component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$message
public
string
$message
= 'Detail not found'
$type
public
string
$type
= 'danger'
Methods
__construct()
Create a new Notfound component instance.
public
__construct([string $type = 'danger' ][, string $message = 'Detail not found' ]) : void
Parameters
- $type : string = 'danger'
-
The type/color of the not found message (default: 'danger')
- $message : string = 'Detail not found'
-
The message to display when item not found (default: 'Detail not found')
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|string