diff options
Diffstat (limited to 'tests/Unit/Middleware/Stub')
-rw-r--r-- | tests/Unit/Middleware/Stub/ControllerImplementation.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/Unit/Middleware/Stub/ControllerImplementation.php b/tests/Unit/Middleware/Stub/ControllerImplementation.php new file mode 100644 index 00000000..939dde5b --- /dev/null +++ b/tests/Unit/Middleware/Stub/ControllerImplementation.php @@ -0,0 +1,24 @@ +<?php + +namespace Engelsystem\Test\Unit\Middleware\Stub; + +use Engelsystem\Controllers\BaseController; + +class ControllerImplementation extends BaseController +{ + /** + * @param array $permissions + */ + public function setPermissions(array $permissions) + { + $this->permissions = $permissions; + } + + /** + * @return string + */ + public function actionStub() + { + return ''; + } +} |