The NotificationsConstructor
is one of the Constructor Classes
of Hiker. It's used to create the notifications part of the Chrome
.
Here's an example of how it's used:
<?php namespace App\Hiker\Chrome; use Hiker\Components\Notifications\NotificationsConstructor; class Notifications extends NotificationsConstructor { protected function notifications(): array { return parent::notifications(); } }
Required methods
notifications(): array
Description:
Get the notifications to display.
Example:
protected function notifications(): array { return parent::notifications(); }