Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| ArticlesTranslation | 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 | * ArticlesTranslation Entity |
| 10 | * |
| 11 | * @property string $id |
| 12 | * @property string $locale |
| 13 | * @property string|null $title |
| 14 | * @property string|null $body |
| 15 | * @property string|null $summary |
| 16 | */ |
| 17 | class ArticlesTranslation extends Entity |
| 18 | { |
| 19 | /** |
| 20 | * Fields that can be mass assigned using newEntity() or patchEntity(). |
| 21 | * |
| 22 | * Note that when '*' is set to true, this allows all unspecified fields to |
| 23 | * be mass assigned. For security purposes, it is advised to set '*' to false |
| 24 | * (or remove it), and explicitly make individual fields accessible as needed. |
| 25 | * |
| 26 | * @var array<string, bool> |
| 27 | */ |
| 28 | protected array $_accessible = [ |
| 29 | 'title' => true, |
| 30 | 'body' => true, |
| 31 | 'summary' => true, |
| 32 | ]; |
| 33 | } |