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 ResourcesAccesses extends AbstractModel
{
/**
*
* @var integer
*/
public $resources_id;
* @var string
public $resources_name;
public $access_name;
public $apps_id;
public $created_at;
public $updated_at;
public $is_deleted;
* Initialize method for model.
public function initialize()
$this->setSource('resources_accesses');
$this->belongsTo(
'resources_id',
'Gewaer\Models\Resources',
'id',
['alias' => 'resources']
);
}
* Returns table name mapped in the model.
* @return string
public function getSource(): string
return 'resources_accesses';