Completed
Push — master ( 06b50b...ceafbf )
by Vitaly
03:00
created

MaterialNavigation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: VITALYIEGOROV
5
 * Date: 08.12.15
6
 * Time: 23:11
7
 */
8
namespace samsoncms\api\query;
9
10
use samson\activerecord\dbQuery;
11
12
class MaterialNavigation extends Base
13
{
14
    /** MaterialQuery constructor */
15
    public function __construct()
16
    {
17
        parent::__construct(
18
            new dbQuery(),
19
            __NAMESPACE__.'\Material',
20
            Navigation::$_primary,
21
            CMS::MATERIAL_NAVIGATION_RELATION_ENTITY
22
        );
23
    }
24
}
25