src/CodeGeneration/Command/CliConfigCommandFactory.php
public function getCommands(): array
    {
        $commands           = [
            $this->container->get(GenerateRelationsCommand::class),
            $this->container->get(GenerateEntityCommand::class),
            $this->container->get(SetRelationCommand::class),
            $this->container->get(GenerateFieldCommand::class),
            $this->container->get(SetFieldCommand::class),
            $this->container->get(SetEmbeddableCommand::class),
            $this->container->get(GenerateEmbeddableFromArchetypeCommand::class),
            $this->container->get(GenerateEmbeddableSkeletonCommand::class),
            $this->container->get(RemoveUnusedRelationsCommand::class),
            $this->container->get(OverrideCreateCommand::class),
            $this->container->get(OverridesUpdateCommand::class),
            $this->container->get(CreateConstraintCommand::class),
            $this->container->get(FinaliseBuildCommand::class),
            $this->container->get(CreateConstraintCommand::class),
        ];
        $migrationsCommands = [
            $this->container->get(ExecuteCommand::class),
            $this->container->get(GenerateCommand::class),
            $this->container->get(LatestCommand::class),
            $this->container->get(MigrateCommand::class),
            $this->container->get(DiffCommand::class),
            $this->container->get(UpToDateCommand::class),
            $this->container->get(StatusCommand::class),
            $this->container->get(VersionCommand::class),
        ];
        foreach ($migrationsCommands as $command) {
            $commands[] = $this->addMigrationsConfig($command);
        }

        return $commands;
    }
public function getCommands(): array
    {
        $commands           = [
            $this->container->get(GenerateRelationsCommand::class),
            $this->container->get(GenerateEntityCommand::class),
            $this->container->get(SetRelationCommand::class),
            $this->container->get(GenerateFieldCommand::class),
            $this->container->get(SetFieldCommand::class),
            $this->container->get(SetEmbeddableCommand::class),
            $this->container->get(GenerateEmbeddableFromArchetypeCommand::class),
            $this->container->get(GenerateEmbeddableSkeletonCommand::class),
            $this->container->get(RemoveUnusedRelationsCommand::class),
            $this->container->get(OverrideCreateCommand::class),
            $this->container->get(OverridesUpdateCommand::class),
            $this->container->get(CreateConstraintCommand::class),
            $this->container->get(FinaliseBuildCommand::class),
            $this->container->get(CreateConstraintCommand::class),
        ];
        $migrationsCommands = [
            $this->container->get(ExecuteCommand::class),
            $this->container->get(GenerateCommand::class),
            $this->container->get(LatestCommand::class),
            $this->container->get(MigrateCommand::class),
            $this->container->get(DiffCommand::class),
            $this->container->get(UpToDateCommand::class),
            $this->container->get(StatusCommand::class),
            $this->container->get(VersionCommand::class),
        ];
        foreach ($migrationsCommands as $command) {
            $commands[] = $this->addMigrationsConfig($command);
        }

        return $commands;
    }
public function getCommands ( ) : array { $ commands = [ $ this -> container -> get ( GenerateRelationsCommand :: class ) , $ this -> container -> get ( GenerateEntityCommand :: class ) , $ this -> container -> get ( SetRelationCommand :: class ) , $ this -> container -> get ( GenerateFieldCommand :: class ) , $ this -> container -> get ( SetFieldCommand :: class ) , $ this -> container -> get ( SetEmbeddableCommand :: class ) , $ this -> container -> get ( GenerateEmbeddableFromArchetypeCommand :: class ) , $ this -> container -> get ( GenerateEmbeddableSkeletonCommand :: class ) , $ this -> container -> get ( RemoveUnusedRelationsCommand :: class ) , $ this -> container -> get ( OverrideCreateCommand :: class ) , $ this -> container -> get ( OverridesUpdateCommand :: class ) , $ this -> container -> get ( CreateConstraintCommand :: class ) , $ this -> container -> get ( FinaliseBuildCommand :: class ) , $ this -> container -> get ( CreateConstraintCommand :: class ) , ] ; $ migrationsCommands = [ $ this -> container -> get ( ExecuteCommand :: class ) , $ this -> container -> get ( GenerateCommand :: class ) , $ this -> container -> get ( LatestCommand :: class ) , $ this -> container -> get ( MigrateCommand :: class ) , $ this -> container -> get ( DiffCommand :: class ) , $ this -> container -> get ( UpToDateCommand :: class ) , $ this -> container -> get ( StatusCommand :: class ) , $ this -> container -> get ( VersionCommand :: class ) , ] ; foreach ( $ migrationsCommands as $ command ) { $ commands [ ] = $ this -> addMigrationsConfig ( $ command ) ; } return $ commands ; }
For use in your project's cli-config.php file

@see /cli-config.php

@return array
For use in your project s cli - config . php file