Group::parentNode()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace App\Model\Entity;
3
4
use App\Model\Behavior\AppTranslateTrait;
5
use Cake\ORM\Behavior\Translate\TranslateTrait;
6
use Cake\ORM\Entity;
7
8
class Group extends Entity
9
{
10
11
    use AppTranslateTrait;
12
    use TranslateTrait;
13
14
    /**
15
     * Fields that can be mass assigned using newEntity() or patchEntity().
16
     *
17
     * @var array
18
     */
19
    protected $_accessible = [
20
        '*' => true,
21
        'id' => false,
22
    ];
23
24
    /**
25
     * The parendNode for ACL.
26
     *
27
     * @return null
28
     */
29
    public function parentNode()
30
    {
31
        return null;
32
    }
33
}
34