Basic operations
src
└── BookStore
├── Application
│ ├── Command
│ │ ├── CreateBookCommand.php
│ │ ├── UpdateBookCommand.php
│ │ └── DeleteBookCommand.php
│ └── Query
│ └── FindBookQuery.php
├── Domain
└── Infrastructure
└── Sylius
└── State
├── Provider
│ └── BookItemProvider.php
└── Processor
├── CreateBookProcessor.php
├── UpdateBookProcessor.php
└── DeleteBookProcessor.phpBook creation

Create the CreateBookProcessor
Adding the processor on the Book Resource
Book edition

Create the BookItemProvider
Create the UpdateBookProcessor
Adding the provider & processor on the Book Resource
Book removal

Create the DeleteBookProcessor
Adding the processor on the Book Resource
Last updated
Was this helpful?