SkeletonClass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A echoPhrase() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: harrisonchow
5
 * Date: 8/17/16
6
 * Time: 3:29 PM
7
 */
8
namespace NobodyRandom\NobAPI;
9
10
/**
11
 * A terribly useful class
12
 *
13
 * See: http://knpuniversity.com/screencast/question-answer-day
14
 */
15
class SkeletonClass
16
{
17
    /**
18
     * Create a new Skeleton Instance
19
     */
20
    public function __construct()
21
    {
22
        // constructor body
23
    }
24
    /**
25
     * Friendly welcome
26
     *
27
     * @param string $phrase Phrase to return
28
     *
29
     * @return string Returns the phrase passed in
30
     */
31
    public function echoPhrase($phrase)
32
    {
33
        return $phrase;
34
    }
35
}
36