Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| Setting | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | declare(strict_types=1); |
| 3 | |
| 4 | namespace App\Model\Entity; |
| 5 | |
| 6 | use Cake\ORM\Entity; |
| 7 | |
| 8 | /** |
| 9 | * Setting Entity |
| 10 | * |
| 11 | * @property string $id |
| 12 | * @property int|null $ordering |
| 13 | * @property string $category |
| 14 | * @property string $key_name |
| 15 | * @property string|null $value |
| 16 | * @property string $type |
| 17 | * @property string|null $value_type |
| 18 | * @property bool|null $value_obscure |
| 19 | * @property string|null $description |
| 20 | * @property mixed $data |
| 21 | * @property string|null $column_width |
| 22 | * @property \Cake\I18n\DateTime|null $created |
| 23 | * @property \Cake\I18n\DateTime|null $modified |
| 24 | */ |
| 25 | class Setting extends Entity |
| 26 | { |
| 27 | /** |
| 28 | * Fields that can be mass assigned using newEntity() or patchEntity(). |
| 29 | * |
| 30 | * Note that when '*' is set to true, this allows all unspecified fields to |
| 31 | * be mass assigned. For security purposes, it is advised to set '*' to false |
| 32 | * (or remove it), and explicitly make individual fields accessible as needed. |
| 33 | * |
| 34 | * @var array<string, bool> |
| 35 | */ |
| 36 | protected array $_accessible = [ |
| 37 | 'ordering' => true, |
| 38 | 'category' => true, |
| 39 | 'key_name' => true, |
| 40 | 'value' => true, |
| 41 | 'type' => true, |
| 42 | 'value_type' => true, |
| 43 | 'value_obscure' => true, |
| 44 | 'description' => true, |
| 45 | 'data' => true, |
| 46 | 'column_width' => true, |
| 47 | 'created' => true, |
| 48 | 'modified' => true, |
| 49 | ]; |
| 50 | } |