1 | <?php |
||
2 | |||
3 | namespace Bavix\Router; |
||
4 | |||
5 | trait Resolable |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * @var array |
||
10 | */ |
||
11 | protected $resolver; |
||
12 | |||
13 | /** |
||
14 | * @return \Generator |
||
15 | */ |
||
16 | 2 | public function resolver(): \Generator |
|
17 | { |
||
18 | 2 | return (new Loader($this->resolver, $this))->routes(); |
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
19 | } |
||
20 | |||
21 | } |
||
22 |