Passed
Push — master ( c11fa8...cb30dd )
by Caen
03:11 queued 12s
created

Render   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Hyde\Support\Facades;
6
7
use Hyde\Pages\Concerns\HydePage;
8
use Hyde\Support\Models\Route;
9
use Illuminate\Support\Facades\Facade;
10
11
/**
12
 * Manages data for the current page being rendered/compiled.
13
 *
14
 * @see \Hyde\Support\Models\Render
15
 *
16
 * @method static void setPage(HydePage $page)
17
 * @method static HydePage|null getPage()
18
 * @method static Route|null getCurrentRoute()
19
 * @method static string|null getCurrentPage()
20
 * @method static void share(string $key, mixed $value)
21
 * @method static void shareToView()
22
 * @method static void clearData()
23
 */
24
class Render extends Facade
25
{
26
    protected static function getFacadeAccessor(): string
27
    {
28
        return \Hyde\Support\Models\Render::class;
29
    }
30
}
31