ParcelTrackingCodeUrl
in package
Class ParcelTrackingCodeUrl
Table of Contents
- $url : string
- create() : ParcelTrackingCodeUrl
- Named constructor of tracking code url.
- is() : string
- Returns the tracking url of a parcel service.
- __construct() : mixed
- TrackingCodesUrl constructor.
Properties
$url
protected
string
$url
Methods
create()
Named constructor of tracking code url.
public
static create(string $url) : ParcelTrackingCodeUrl
Parameters
- $url : string
-
Tracking url of parcel service.
Return values
ParcelTrackingCodeUrl —New instance.
is()
Returns the tracking url of a parcel service.
public
is() : string
Return values
string —Tracking url of parcel service.
__construct()
TrackingCodesUrl constructor.
protected
__construct(string $url) : mixed
Private to enforce usage of named constructor.
Parameters
- $url : string
-
Tracking url of parcel service.