Download src/Preset/Infrastructure/PresetModuleBootstrapper.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Preset/Infrastructure/PresetModuleBootstrapper.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Preset/Infrastructure/PresetModuleBootstrapper.php
-
curl -L -o PresetModuleBootstrapper.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Preset/Infrastructure/PresetModuleBootstrapper.php
632 Bytes
| declare(strict_types=1); | |
| namespace Preset\Infrastructure; | |
| use Application; | |
| use Override; | |
| use Preset\Domain\Repositories\PresetRepositoryInterface; | |
| use Preset\Infrastructure\DoctrineOrm\PresetRepository; | |
| use Shared\Infrastructure\BootstrapperInterface; | |
| class PresetModuleBootstrapper implements BootstrapperInterface | |
| { | |
| public function __construct(private Application $app) | |
| { | |
| } | |
| public function bootstrap(): void | |
| { | |
| // Register repository implementations | |
| $this->app->set( | |
| PresetRepositoryInterface::class, | |
| PresetRepository::class | |
| ); | |
| } | |
| } | |