PurposeUpdateService
in package
implements
PurposeUpdateServiceInterface
Class PurposeUpdateService
Interfaces, Classes and Traits
- PurposeUpdateServiceInterface
- Interface PurposeUpdateServiceInterface
Table of Contents
- $repository : PurposeUpdateRepositoryInterface
- __construct() : mixed
- PurposeUpdateService constructor.
- update() : void
- updateStatus() : mixed
Properties
$repository
protected
PurposeUpdateRepositoryInterface
$repository
Methods
__construct()
PurposeUpdateService constructor.
public
__construct(PurposeUpdateRepositoryInterface $repository) : mixed
Parameters
- $repository : PurposeUpdateRepositoryInterface
Return values
mixed —update()
public
update(PurposeUpdateDtoInterface $dto) : void
Parameters
- $dto : PurposeUpdateDtoInterface
Tags
Return values
void —updateStatus()
public
updateStatus(int $id, bool $status) : mixed
Parameters
- $id : int
- $status : bool