Passed
Push — master ( 04b48b...3f38cd )
by Rougin
02:53
created

View::accessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace App\Facades;
4
5
use Zapheus\Renderer\RendererInterface;
6
7
/**
8
 * View Facade
9
 *
10
 * @package App
11
 * @author  Rougin Royce Gutib <[email protected]>
12
 *
13
 * @method string render(string $template, array $data = array())
14
 */
15
class View extends Facade
16
{
17
    /**
18
     * Returns the registered name of the instance.
19
     *
20
     * @return string
21
     */
22
    protected static function accessor()
23
    {
24
        return 'Zapheus\Renderer\RendererInterface';
25
    }
26
}
27