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 AttachmentName

Class AttachmentName

Important: This value object is not going to check if the attachment file exists in the server because that would cause problems with the service usage (e.g. if an attachment file is missing an exception would halt all the email service operations).

AttachmentName implements AttachmentNameInterface
Package: Email\ValueObjects
Category: System
Located at SystemServices/Email/ValueObjects/AttachmentName.inc.php

Methods summary

public
# __construct( string $p_name )

Constructor

Constructor

Executes the validation checks for the email attachment.

Parameters

$p_name
E-Mail attachment name.

Throws

InvalidArgumentException
On invalid argument.
public string
# __toString( )

Returns the attachment path.

Returns the attachment path.

Returns

string
Equivalent string.

Implementation of

AttachmentNameInterface::__toString()

Properties summary

protected string $name

Email attachment name.

Email attachment name.

#
API documentation generated by ApiGen