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