Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

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

Interfaces

  • AttachmentNameInterface
  • AttachmentPathInterface

Class AttachmentPath

Class AttachmentPath

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).

AttachmentPath implements AttachmentPathInterface
Package: Email\ValueObjects
Category: System
Located at Services/System/Email/ValueObjects/AttachmentPath.inc.php

Methods summary

public
# __construct( string $p_path )

Constructor

Constructor

Executes the validation checks for the email attachment.

Parameters

$p_path
E-Mail attachment path.

Throws

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

Returns attachment path.

Returns attachment path.

Returns

string
Equivalent string.

Implementation of

AttachmentPathInterface::__toString()

Properties summary

protected string $path

Email attachment path.

Email attachment path.

#
API documentation generated by ApiGen