Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AttachmentName
  • AttachmentPath
  • ContactName
  • ContactType
  • EmailAddress
  • EmailContent
  • EmailSubject

Interfaces

  • AttachmentNameInterface
  • AttachmentPathInterface

Class ContactName

Class ContactName

Contact name will be the display name for an EmailContact object.

ContactName implements ContactNameInterface
Package: Email\ValueObjects
Category: System
Located at SystemServices/Email/ValueObjects/ContactName.inc.php

Methods summary

public
# __construct( string $p_contactName )

Constructor

Constructor

Executes the validation checks upon the contact name.

Parameters

$p_contactName
Contact name.

Throws

InvalidArgumentException
If the provided argument is not a string.
public string
# __toString( )

Returns the contact name as a string.

Returns the contact name as a string.

Returns

string
Equivalent string.

Implementation of

ContactNameInterface::__toString()

Constants summary

integer MAX_LENGTH

Maximum name length constant.

Maximum name length constant.

# 128

Properties summary

protected string $contactName

Contact name.

Contact name.

#
API documentation generated by ApiGen