bytic /
view
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Nip\View\Traits; |
||
| 6 | |||
| 7 | use League\Plates\Extension\ExtensionInterface; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Trait HasExtensionsTrait. |
||
| 11 | */ |
||
| 12 | trait HasExtensionsTrait |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @deprecated use loadExtension($extension) |
||
| 16 | 11 | */ |
|
| 17 | public function register(ExtensionInterface $extension) |
||
| 18 | 11 | { |
|
| 19 | 11 | $this->loadExtension($extension); |
|
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 20 | } |
||
| 21 | } |
||
| 22 |