NOSQLBaseController::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
namespace NOSQL\Controller\base;
3
use PSFS\base\types\AuthAdminController;
4
5
/**
6
* Class NOSQLBaseController
7
* @package NOSQL\Controller\base
8
* @author Fran López <[email protected]>
9
* @version 1.0
10
* @Api NOSQL
11
* Autogenerated controller [2019-01-03 15:30:45]
12
*/
13
abstract class NOSQLBaseController extends AuthAdminController {
14
15
    const DOMAIN = 'NOSQL';
16
17
    /**
18
    * @Autoload
19
    * @var \NOSQL\Services\NOSQLService
20
    */
21
    protected $srv;
22
23
    /**
24
    * Constructor por defecto
25
    */
26
    function __construct() {
27
        $this->init();
28
        $this->setDomain('NOSQL')
29
            ->setTemplatePath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Templates');
30
    }
31
32
}
33