engelsystem/tests/Unit/Controllers/Stub/HasUserNotificationsImpleme...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
410 B
PHP
Raw Normal View History

<?php
namespace Engelsystem\Test\Unit\Controllers\Stub;
use Engelsystem\Controllers\HasUserNotifications;
class HasUserNotificationsImplementation
{
use HasUserNotifications;
public function add(string|array $value, string $type = 'messages'): void
{
$this->addNotification($value, $type);
}
public function get(): array
{
return $this->getNotifications();
}
}