summaryrefslogtreecommitdiff
path: root/src/Controllers/BaseController.php
blob: cbc00931b8e1f1ac266e91da968a6163ca39af81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Engelsystem\Controllers;

abstract class BaseController
{
    /** @var string[]|string[][] A list of Permissions required to access the controller or certain pages */
    protected $permissions = [];

    /**
     * Returns the list of permissions
     *
     * @return string[]|string[][]
     */
    public function getPermissions()
    {
        return $this->permissions;
    }
}