mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 15:26:43 +02:00
build(app): bootstrap codeigniter4 app using docker-compose
This commit is contained in:
parent
11080d46d1
commit
9070ca2651
87 changed files with 5411 additions and 8 deletions
26
src/tests/_support/Models/ExampleModel.php
Normal file
26
src/tests/_support/Models/ExampleModel.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php namespace Tests\Support\Models;
|
||||
|
||||
use CodeIgniter\Model;
|
||||
|
||||
class ExampleModel extends Model
|
||||
{
|
||||
protected $table = 'factories';
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
protected $returnType = 'object';
|
||||
protected $useSoftDeletes = false;
|
||||
|
||||
protected $allowedFields = [
|
||||
'name',
|
||||
'uid',
|
||||
'class',
|
||||
'icon',
|
||||
'summary',
|
||||
];
|
||||
|
||||
protected $useTimestamps = true;
|
||||
|
||||
protected $validationRules = [];
|
||||
protected $validationMessages = [];
|
||||
protected $skipValidation = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue