HeaderHelper::output()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
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 14
ccs 0
cts 13
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
    /**
24
     * @param null $args
0 ignored issues
show
introduced by
Missing parameter comment
Loading history...
25
     * @return void
26
     */
27
    public function output($args = null)
28
    {
29
        $this->_io->out("\n\n");
30
        $this->_io->styles('header', ['text' => 'green']);
31
32
        $this->_io->out('<header>   ______  _____  ___  ____  __  ______   _____  ______</header>');
33
        $this->_io->out('<header>  / __/ / / / _ )/ _ \/ __ \/  |/  / _ | /  _/ |/ / __/</header>');
34
        $this->_io->out('<header> _\ \/ /_/ / _  / // / /_/ / /|_/ / __ |_/ //    /\ \  </header>');
35
        $this->_io->out('<header>/___/\____/____/____/\____/_/  /_/_/ |_/___/_/|_/___/  </header>');
36
        $this->_io->out("\n");
37
        $this->_io->out('<header>              CakePHP : Subdomains Router              </header>');
38
        $this->_io->out('<header>              by https://multidimension.al             </header>');
39
        $this->_io->out("\n\n");
40
    }
41
}
42