@@ -70,6 +70,9 @@ |
||
70 | 70 | })->first(); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $class |
|
75 | + */ |
|
73 | 76 | protected function getAvailableMethods($class): Collection |
74 | 77 | { |
75 | 78 | $class = new ReflectionClass($class); |
@@ -10,6 +10,9 @@ discard block |
||
10 | 10 | { |
11 | 11 | protected $lastCompiledData = []; |
12 | 12 | |
13 | + /** |
|
14 | + * @param string $path |
|
15 | + */ |
|
13 | 16 | public function collectViewData($path, array $data): void |
14 | 17 | { |
15 | 18 | $this->lastCompiledData[] = [ |
@@ -32,6 +35,9 @@ discard block |
||
32 | 35 | }, ARRAY_FILTER_USE_BOTH); |
33 | 36 | } |
34 | 37 | |
38 | + /** |
|
39 | + * @param string $compiledPath |
|
40 | + */ |
|
35 | 41 | public function getCompiledViewData($compiledPath): array |
36 | 42 | { |
37 | 43 | $compiledView = $this->findCompiledView($compiledPath); |
@@ -39,6 +45,9 @@ discard block |
||
39 | 45 | return $compiledView['data'] ?? []; |
40 | 46 | } |
41 | 47 | |
48 | + /** |
|
49 | + * @param string $compiledPath |
|
50 | + */ |
|
42 | 51 | public function getCompiledViewName($compiledPath): string |
43 | 52 | { |
44 | 53 | $compiledView = $this->findCompiledView($compiledPath); |