Completed
Push — master ( a4261d...fc5e52 )
by John
14s
created

Installer   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 4
dl 0
loc 14
rs 10
c 2
b 0
f 1
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A uninstall() 0 4 1
A install() 0 4 1
1
<?php
2
namespace App\Babel\Extension\noj;
3
4
use App\Babel\Install\InstallerBase;
5
use Exception;
6
7
class Installer extends InstallerBase
8
{
9
    public $ocode="noj";
10
11
    public function install()
12
    {
13
        // throw new Exception("No Install Method Provided");
14
        $this->_install($this->ocode);
15
    }
16
17
    public function uninstall()
18
    {
19
        // throw new Exception("No Uninstall Method Provided");
20
        $this->_uninstall($this->ocode);
21
    }
22
}
23