summaryrefslogtreecommitdiff
path: root/tests/Unit/Controllers/Stub/ControllerImplementation.php
blob: 01d9f2506af38930d39e3ceffe2e83098b4ac2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
    }
}