Completed
Branch Testing (40b0cd)
by AJ
02:19
created

HeaderHelper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 1
cbo 2
dl 0
loc 20
ccs 0
cts 12
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A output() 0 13 1
1
<?php
2
/**
3
 * CakePHP Plugin : CakePHP Subdomain Routing
4
 * Copyright (c) Multidimension.al (http://multidimension.al)
5
 * Github : https://github.com/multidimension-al/cakephp-subdomains
6
 *
7
 * Licensed under The MIT License
8
 * For full copyright and license information, please see the LICENSE file
9
 * Redistributions of files must retain the above copyright notice.
10
 *
11
 * @copyright     (c) Multidimension.al (http://multidimension.al)
12
 * @link          https://github.com/multidimension-al/cakephp-subdomains Github
13
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
14
 */
15
16
namespace Multidimensional\Subdomains\Shell\Helper;
17
18
use Cake\Console\Helper;
19
20
class HeaderHelper extends Helper {
21
    
22
    /*
23
    * @return void
24
    */
25
    public function output($args = null) {
26
        $this->_io->out("\n\n");
27
        $this->_io->styles('header', ['text' => 'green']);
28
29
        $this->_io->out('<header>   ______  _____  ___  ____  __  ______   _____  ______</header>');
30
        $this->_io->out('<header>  / __/ / / / _ )/ _ \/ __ \/  |/  / _ | /  _/ |/ / __/</header>');
31
        $this->_io->out('<header> _\ \/ /_/ / _  / // / /_/ / /|_/ / __ |_/ //    /\ \  </header>');
32
        $this->_io->out('<header>/___/\____/____/____/\____/_/  /_/_/ |_/___/_/|_/___/  </header>');
33
        $this->_io->out("\n");
34
        $this->_io->out('<header>              CakePHP : Subdomains Router              </header>');
35
        $this->_io->out('<header>              by https://multidimension.al             </header>');
36
        $this->_io->out("\n\n");
37
    }
38
    
39
}
40