for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Gewaer\Models;
class Users extends \Baka\Auth\Models\Users
{
/**
* 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;