Skip to content

Commit

Permalink
feat: enrichment order carriers (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john authored Jan 15, 2025
1 parent f6409b9 commit 13084ad
Show file tree
Hide file tree
Showing 14 changed files with 2,685 additions and 1,718 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class PlanesService extends ShopContentAbstractService implements ShopContentSer
...
}
```
_Don't missing to declare this new service to [service.yml](config/front/services.yml) file._
_Don't missing to declare this new service to [ServiceProvider.php](src/ServiceContainer/Provider/ServiceProvider.php) file._

Then create a repository PlaneRepository.php (in singular) in the [Repository](src/Repository/) folder that extends the [AbstractRepository.php](src/Repository/AbstractRepository.php) class and implements the [RepositoryInterface.php](src/Repository/RepositoryInterface.php) interface. Similarly, maintain consistency with other shop content repositories.
```PHP
Expand All @@ -134,7 +134,7 @@ class PlaneRepository extends AbstractRepository implements RepositoryInterface
...
}
```
_Don't missing to declare this new repository to [repository.yml](config/common/repository.yml) file._
_Don't missing to declare this new repository to [RepositoryProvider.php](src/ServiceContainer/Provider/RepositoryProvider.php) file._

Add your shop content in the [e2e config file](e2e/src/helpers/shop-contents.ts).
```javascript
Expand Down
Loading

0 comments on commit 13084ad

Please sign in to comment.