engelsystem/tests/Unit/Middleware/Stub/ControllerImplementation.php

21 lines
375 B
PHP
Raw Permalink Normal View History

2018-11-14 02:17:27 +01:00
<?php
declare(strict_types=1);
2018-11-14 02:17:27 +01:00
namespace Engelsystem\Test\Unit\Middleware\Stub;
use Engelsystem\Controllers\BaseController;
class ControllerImplementation extends BaseController
{
public function setPermissions(array $permissions): void
2018-11-14 02:17:27 +01:00
{
$this->permissions = $permissions;
}
public function actionStub(): string
2018-11-14 02:17:27 +01:00
{
return '';
}
}