Group   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 26
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A parentNode() 0 4 1
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