public function getAll()
    {
        $permissions = $this->modules->getAllPermissions();

        $permissions = array_merge($permissions, $this->getCustom());

        return array_unique($permissions);
    }
public function getAll()
    {
        $permissions = $this->modules->getAllPermissions();

        $permissions = array_merge($permissions, $this->getCustom());

        return array_unique($permissions);
    }
Returns a list of all permissions known by the CMS.

@return string[]