Completed
Push — 1.x ( a98302...e42f79 )
by Alexander
07:32
created

HumanDemo   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 43
rs 10
1
<?php
2
/*
3
 * Go! AOP framework
4
 *
5
 * @copyright Copyright 2013, Lisachenko Alexander <[email protected]>
6
 *
7
 * This source file is subject to the license that is bundled
8
 * with this source code in the file LICENSE.
9
 */
10
11
namespace Demo\Example;
12
13
/**
14
 * Human class example
15
 */
16
class HumanDemo
17
{
18
19
    /**
20
     * Eat something
21
     */
22
    public function eat()
23
    {
24
        echo "Eating...", PHP_EOL;
25
    }
26
27
    /**
28
     * Clean the teeth
29
     */
30
    public function cleanTeeth()
31
    {
32
        echo "Cleaning teeth...", PHP_EOL;
33
    }
34
35
    /**
36
     * Washing up
37
     */
38
    public function washUp()
39
    {
40
        echo "Washing up...", PHP_EOL;
41
    }
42
43
    /**
44
     * Working
45
     */
46
    public function work()
47
    {
48
        echo "Working...", PHP_EOL;
49
    }
50
51
    /**
52
     * Go to sleep
53
     */
54
    public function sleep()
55
    {
56
        echo "Go to sleep...", PHP_EOL;
57
    }
58
}
59