HeaderHelper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
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 22
ccs 0
cts 13
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A output() 0 14 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
    /**
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