BConnect POS - Reference PHP

SaleCreateProcessor
in package
implements ProcessorInterface

FinalYes
Tags
implements

Table of Contents

Interfaces

ProcessorInterface

Properties

$entityManager  : EntityManagerInterface
$persistProcessor  : ProcessorInterface
$security  : Security

Methods

__construct()  : mixed
process()  : Sale

Properties

$persistProcessor read-only

private ProcessorInterface $persistProcessor
Attributes
#[Autowire]
$service: 'api_platform.doctrine.orm.state.persist_processor'

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> = []
Return values
Sale
On this page

Search results