src/CodeGeneration/Action/CreateEntityAction.php
public function run(): void
    {
        $this->entityCreator->createTargetFileObject($this->entityFqn)->write();

        $this->abstractEntityFactoryCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityFactoryCreator->createTargetFileObject()->write();

        $this->entityInterfaceCreator->createTargetFileObject()->write();

        $this->abstractEntityRepositoryCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityRepositoryCreator->createTargetFileObject()->write();

        if (true === $this->generateSaver) {
            $this->entitySaverCreator->createTargetFileObject()->write();
        }

        $this->entityFixtureCreator->createTargetFileObject()->write();

        $this->abstractEntityTestCreator->createTargetFileObject()->writeIfNotExists();

        $this->bootstrapCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityTestCreator->createTargetFileObject()->write();

        $this->dataTransferObjectCreator->createTargetFileObject()->write();

        $this->entityDtoFactoryCreator->createTargetFileObject()->write();

        $this->entityUpserterCreator->createTargetFileObject()->write();

        $this->entityUnitOfWorkHelperCreator->createTargetFileObject()->write();
    }
public function run(): void
    {
        $this->entityCreator->createTargetFileObject($this->entityFqn)->write();

        $this->abstractEntityFactoryCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityFactoryCreator->createTargetFileObject()->write();

        $this->entityInterfaceCreator->createTargetFileObject()->write();

        $this->abstractEntityRepositoryCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityRepositoryCreator->createTargetFileObject()->write();

        if (true === $this->generateSaver) {
            $this->entitySaverCreator->createTargetFileObject()->write();
        }

        $this->entityFixtureCreator->createTargetFileObject()->write();

        $this->abstractEntityTestCreator->createTargetFileObject()->writeIfNotExists();

        $this->bootstrapCreator->createTargetFileObject()->writeIfNotExists();

        $this->entityTestCreator->createTargetFileObject()->write();

        $this->dataTransferObjectCreator->createTargetFileObject()->write();

        $this->entityDtoFactoryCreator->createTargetFileObject()->write();

        $this->entityUpserterCreator->createTargetFileObject()->write();

        $this->entityUnitOfWorkHelperCreator->createTargetFileObject()->write();
    }
public function run ( ) : void { $ this -> entityCreator -> createTargetFileObject ( $ this -> entityFqn ) -> write ( ) ; $ this -> abstractEntityFactoryCreator -> createTargetFileObject ( ) -> writeIfNotExists ( ) ; $ this -> entityFactoryCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> entityInterfaceCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> abstractEntityRepositoryCreator -> createTargetFileObject ( ) -> writeIfNotExists ( ) ; $ this -> entityRepositoryCreator -> createTargetFileObject ( ) -> write ( ) ; if ( true === $ this -> generateSaver ) { $ this -> entitySaverCreator -> createTargetFileObject ( ) -> write ( ) ; } $ this -> entityFixtureCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> abstractEntityTestCreator -> createTargetFileObject ( ) -> writeIfNotExists ( ) ; $ this -> bootstrapCreator -> createTargetFileObject ( ) -> writeIfNotExists ( ) ; $ this -> entityTestCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> dataTransferObjectCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> entityDtoFactoryCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> entityUpserterCreator -> createTargetFileObject ( ) -> write ( ) ; $ this -> entityUnitOfWorkHelperCreator -> createTargetFileObject ( ) -> write ( ) ; }
Create all the Entity related code

@throws \EdmondsCommerce\DoctrineStaticMeta\Exception\DoctrineStaticMetaException
Create all the Entity related code