mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
* Add Enums and Overrides folders * Fix code style (php-cs-fixer) --------- Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
26 lines
536 B
PHP
26 lines
536 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Features;
|
|
|
|
use Illuminate\Foundation\Application;
|
|
use Stancl\Tenancy\Contracts\Feature;
|
|
use Stancl\Tenancy\Overrides\Vite;
|
|
use Stancl\Tenancy\Tenancy;
|
|
|
|
class ViteBundler implements Feature
|
|
{
|
|
/** @var Application */
|
|
protected $app;
|
|
|
|
public function __construct(Application $app)
|
|
{
|
|
$this->app = $app;
|
|
}
|
|
|
|
public function bootstrap(Tenancy $tenancy): void
|
|
{
|
|
$this->app->singleton(\Illuminate\Foundation\Vite::class, Vite::class);
|
|
}
|
|
}
|