2021-08-10 11:19:58 +02:00
|
|
|
<?php
|
|
|
|
|
2023-02-03 20:41:59 +01:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2021-08-10 11:19:58 +02:00
|
|
|
namespace Engelsystem\Helpers;
|
|
|
|
|
|
|
|
use Engelsystem\Container\ServiceProvider;
|
|
|
|
|
|
|
|
class AssetsServiceProvider extends ServiceProvider
|
|
|
|
{
|
2022-12-14 19:15:20 +01:00
|
|
|
public function register(): void
|
2021-08-10 11:19:58 +02:00
|
|
|
{
|
|
|
|
$this->app->when(Assets::class)
|
|
|
|
->needs('$assetsPath')
|
|
|
|
->give($this->app->get('path.assets.public'));
|
|
|
|
}
|
|
|
|
}
|