26 lines
470 B
PHP
26 lines
470 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|