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