Passed
Push — master ( c70df2...3b77f2 )
by Caen
03:41 queued 11s
created

Hyde   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
A version() 0 3 1
1
<?php
2
3
namespace Hyde\Framework;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * General facade for Hyde services.
9
 *
10
 * @see \Hyde\Framework\HydeKernel
11
 *
12
 * @author  Caen De Silva <[email protected]>
13
 * @copyright 2022 Caen De Silva
14
 * @license MIT License
15
 *
16
 * @link https://hydephp.com/
17
 */
18
class Hyde extends Facade
19
{
20
    protected static function getFacadeAccessor(): string
21
    {
22
        return HydeKernel::class;
23
    }
24
25
    public static function version()
26
    {
27
        return HydeKernel::version();
28
    }
29
}
30