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

HeaderHelper::output()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 13
ccs 0
cts 12
cp 0
rs 9.4285
cc 1
eloc 11
nc 1
nop 1
crap 2
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