SkeletonClass   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 20
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A echoPhrase() 0 3 1
A __construct() 0 2 1
1
<?php
2
3
namespace Alive2212\LaravelSmartResponse;
4
5
class SkeletonClass
6
{
7
    /**
8
     * Create a new Skeleton Instance
9
     */
10
    public function __construct()
11
    {
12
        // constructor body
13
    }
14
15
    /**
16
     * Friendly welcome
17
     *
18
     * @param string $phrase Phrase to return
19
     *
20
     * @return string Returns the phrase passed in
21
     */
22
    public function echoPhrase($phrase)
23
    {
24
        return $phrase;
25
    }
26
}
27