Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
PageView
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 * PageView Entity
10 *
11 * @property string $id
12 * @property string $article_id
13 * @property string $ip_address
14 * @property string|null $user_agent
15 * @property string|null $referer
16 * @property \Cake\I18n\DateTime|null $created
17 *
18 * @property \App\Model\Entity\Article $article
19 */
20class PageView 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        'article_id' => true,
33        'ip_address' => true,
34        'user_agent' => true,
35        'referer' => true,
36        'created' => true,
37        'article' => true,
38    ];
39}