HeaderHelper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A output() 0 15 1
1
<?php
2
/**
3
 * CakePHPify : CakePHP Plugin for Shopify API Authentication
4
 * Copyright (c) Multidimension.al (http://multidimension.al)
5
 * Github : https://github.com/multidimension-al/cakephpify
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/cakephpify CakePHPify Github
13
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
14
 */
15
16
namespace Multidimensional\Cakephpify\Shell\Helper;
17
18
use Cake\Console\Helper;
19
20
class HeaderHelper extends Helper
21
{
22
23
    /**
24
     * @param null $args not used
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
        $this->_io->out('<header>   _____ __  ______  ____  ____________  __</header>');
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('<header>                                           </header>');
37
        $this->_io->out("\n");
38
        $this->_io->out('<header>      CakePHP Plugin for Shopify API       </header>');
39
        $this->_io->out('<header>       by https://multidimension.al        </header>');
40
        $this->_io->out("\n\n");
41
    }
42
}
43