SaleCreateProcessor
in package
implements
ProcessorInterface
FinalYes
Tags
Table of Contents
Interfaces
- ProcessorInterface
Properties
- $entityManager : EntityManagerInterface
- $persistProcessor : ProcessorInterface
- $security : Security
Methods
- __construct() : mixed
- process() : Sale
Properties
$entityManager read-only
private
EntityManagerInterface
$entityManager
$persistProcessor read-only
private
ProcessorInterface
$persistProcessor
Attributes
- #[Autowire]
- $service: 'api_platform.doctrine.orm.state.persist_processor'
$security read-only
private
Security
$security
Methods
__construct()
public
__construct(ProcessorInterface $persistProcessor, EntityManagerInterface $entityManager, Security $security) : mixed
Parameters
- $persistProcessor : ProcessorInterface
- $entityManager : EntityManagerInterface
- $security : Security
process()
public
process(mixed $data, Operation $operation[, array<string|int, mixed> $uriVariables = [] ][, array<string|int, mixed> $context = [] ]) : Sale
Parameters
- $data : mixed
- $operation : Operation
- $uriVariables : array<string|int, mixed> = []
- $context : array<string|int, mixed> = []