|
3 | 3 | Providers retrieve data from your persistence layer. |
4 | 4 |
|
5 | 5 | <!-- TOC --> |
6 | | -* [Providers](#providers) |
7 | | - * [Default providers](#default-providers) |
8 | | - * [Custom repository method](#custom-repository-method) |
9 | | - * [Custom repository arguments](#custom-repository-arguments) |
10 | | - * [Custom providers](#custom-providers) |
11 | | - * [Disable providing data](#disable-providing-data) |
| 6 | +* [Default providers](#default-providers) |
| 7 | + * [Custom repository method](#custom-repository-method) |
| 8 | + * [Custom repository arguments](#custom-repository-arguments) |
| 9 | +* [Custom providers](#custom-providers) |
| 10 | +* [Disable providing data](#disable-providing-data) |
12 | 11 | <!-- TOC --> |
13 | 12 |
|
14 | 13 | ## Default providers |
@@ -171,7 +170,14 @@ final class BoardGameResource implements ResourceInterface |
171 | 170 |
|
172 | 171 | namespace App\BoardGameBlog\Infrastructure\Sylius\State\Processor; |
173 | 172 |
|
| 173 | +use App\BoardGameBlog\Application\Command\DeleteBoardGameCommand; |
| 174 | +use App\BoardGameBlog\Domain\ValueObject\BoardGameId; |
| 175 | +use App\BoardGameBlog\Infrastructure\Sylius\Resource\BoardGameResource; |
| 176 | +use App\Shared\Application\Command\CommandBusInterface; |
| 177 | +use Sylius\Resource\Context\Context; |
174 | 178 | use Sylius\Resource\Context\Option\RequestOption; |
| 179 | +use Sylius\Resource\Metadata\Operation; |
| 180 | +use Sylius\Resource\State\ProcessorInterface; |
175 | 181 | use Webmozart\Assert\Assert; |
176 | 182 |
|
177 | 183 | final class DeleteBoardGameProcessor implements ProcessorInterface |
|
0 commit comments