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

Methods summary

public __construct( string $p_name )

Constructor

public __toString( void ) : string

Returns the attachment path.

Properties summary

protected $name : string

Email attachment name.