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