Documentation

Timestamps extends Component
in package

Table of Contents

$record  : Model
__construct()  : void
Create a new Timestamps component instance.
render()  : View|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new Timestamps component instance.

public __construct(Model $record) : void
Parameters
$record : Model

The Eloquent model instance containing timestamps

Return values
void

render()

Get the view / contents that represent the component.

public render() : View|string
Return values
View|string

Search results