for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Api\Controllers;
use Gewaer\Models\AccessList;
/**
* Class RolesController
*
* @package Gewaer\Api\Controllers
* @property Users $userData
*/
class RolesAccesListController extends BaseController
{
/*
* fields we accept to create
* @var array
protected $createFields = [];
protected $updateFields = [];
* set objects
* @return void
public function onConstruct()
$this->model = new AccessList();
//get the list of roes for the systema + my company
$this->additionalSearchFields = [
['is_deleted', ':', 0],
['apps_id', ':', $this->app->getId()],
app
Gewaer\Api\Controllers\RolesAccesListController
__get
];
}