for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Models;
use Gewaer\Traits\PermissionsTrait;
class Users extends \Baka\Auth\Models\Users
{
use PermissionsTrait;
Gewaer\Traits\PermissionsTrait
Gewaer\Models\Users
$defaultCompany
$di
$roles
$app
/**
* Initialize method for model.
*/
public function initialize()
parent::initialize();
$this->setSource('users');
}
* Returns table name mapped in the model.
*
* @return string
public function getSource(): string
return 'users';
* Get the User key for redis
public function getKey(): string
return $this->id;