ParcelTrackingCodeDeleteService
in package
Class ParcelTrackingCodeDeleteService
Table of Contents
- $repository : ParcelTrackingCodeRepository
- __construct() : mixed
- ParcelTrackingCodeDeleteService constructor.
- delete() : $this|ParcelTrackingCodeDeleteService
- Removes the parcel tracking codes entry with the given id.
Properties
$repository
protected
ParcelTrackingCodeRepository
$repository
Methods
__construct()
ParcelTrackingCodeDeleteService constructor.
public
__construct(ParcelTrackingCodeRepository $repository) : mixed
Parameters
- $repository : ParcelTrackingCodeRepository
-
Repository for parcel tracking codes.
Return values
mixed —delete()
Removes the parcel tracking codes entry with the given id.
public
delete(ParcelTrackingCodeId $id) : $this|ParcelTrackingCodeDeleteService
Parameters
- $id : ParcelTrackingCodeId
-
Id of parcel tracking code entity to be removed.
Return values
$this|ParcelTrackingCodeDeleteService —Same instance for chained method calls.