You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
engelsystem/tests/Unit/Controllers/Stub/HasUserNotificationsImpleme...

28 lines
498 B
PHTML

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