PurposeWriteService
in package
implements
PurposeWriteServiceInterface, CookieConsentPurposeReaderServiceInterface
Class PurposeWriteService
Interfaces, Classes and Traits
- PurposeWriteServiceInterface
- Interface PurposeWriteServiceInterface
- CookieConsentPurposeReaderServiceInterface
- Interface CookieConsentPurposeReaderServiceInterface
Table of Contents
- $repository : PurposeWriteRepositoryInterface
- __construct() : mixed
- PurposeWriteService constructor.
- getCookieConsentPurposeBy() : mixed
- store() : int
Properties
$repository
protected
PurposeWriteRepositoryInterface
$repository
Methods
__construct()
PurposeWriteService constructor.
public
__construct(PurposeWriteRepositoryInterface $repository) : mixed
Parameters
- $repository : PurposeWriteRepositoryInterface
Return values
mixed —getCookieConsentPurposeBy()
public
getCookieConsentPurposeBy(CookieConsentPurposeDTO $purposeDTO) : mixed
Parameters
- $purposeDTO : CookieConsentPurposeDTO
Tags
Return values
mixed —store()
public
store(PurposeWriterDtoInterface $dto) : int
Parameters
- $dto : PurposeWriterDtoInterface