AbstractTemplate   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A jsonSerialize() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the LineMob package.
5
 *
6
 * (c) Ishmael Doss <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace LineMob\Core\Template;
13
14
/**
15
 * @author Ishmael Doss <[email protected]>
16
 */
17
abstract class AbstractTemplate implements TemplateInterface
18
{
19
    final public function __construct()
20
    {
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function jsonSerialize()
27
    {
28
        return $this;
29
    }
30
}
31