AttachmentPath
in package
implements
AttachmentPathInterface
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).
Tags
Interfaces, Classes and Traits
- AttachmentPathInterface
- Interface AttachmentPathInterface
Table of Contents
- $path : string
- Email attachment path.
- __construct() : mixed
- Constructor
- __toString() : string
- Returns attachment path.
Properties
$path
Email attachment path.
protected
string
$path
Methods
__construct()
Constructor
public
__construct(string $p_path) : mixed
Executes the validation checks for the email attachment.
Parameters
- $p_path : string
-
E-Mail attachment path.
Tags
Return values
mixed —__toString()
Returns attachment path.
public
__toString() : string
Return values
string —Equivalent string.