diff options
Diffstat (limited to 'tests/Unit/Controllers/Stub')
-rw-r--r-- | tests/Unit/Controllers/Stub/ControllerImplementation.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/Unit/Controllers/Stub/ControllerImplementation.php b/tests/Unit/Controllers/Stub/ControllerImplementation.php new file mode 100644 index 00000000..01d9f250 --- /dev/null +++ b/tests/Unit/Controllers/Stub/ControllerImplementation.php @@ -0,0 +1,25 @@ +<?php + +namespace Engelsystem\Test\Unit\Controllers\Stub; + +use Engelsystem\Controllers\BaseController; + +class ControllerImplementation extends BaseController +{ + /** @var array */ + protected $permissions = [ + 'foo', + 'lorem' => [ + 'ipsum', + 'dolor', + ], + ]; + + /** + * @param array $permissions + */ + public function setPermissions(array $permissions) + { + $this->permissions = $permissions; + } +} |