phpDocumentor

AddressClass
in package
implements AddressClassInterface

Value Object

Class AddressClass

Represents a customer address

Tags
category

System

subpackage

ValueObjects

implements

AddressClassInterface

Interfaces, Classes and Traits

AddressClassInterface
Value Object

Table of Contents

$addressClass  : string
Address class.
__construct()  : mixed
Constructor of the class AddressClass.
__toString()  : string
Returns the equivalent string value.

Properties

Methods

__construct()

Constructor of the class AddressClass.

public __construct(string $addressClass) : mixed

Validates the data type of the address class.

Parameters
$addressClass : string

Address class.

Tags
throws
InvalidArgumentException

If $p_city is not a string.

Return values
mixed

__toString()

Returns the equivalent string value.

public __toString() : string
Return values
string

Equivalent string value.

Search results