PHP Interface Crummy\Phlack\Message\MessageInterface

Inheritance: extends Crummy\Phlack\Common\Encodable
Show file Open project: mcrumm/phlack Interface Usage Examples

Public Methods

Method Description
addAttachment ( Crummy\Phlack\Message\AttachmentInterface $attachment ) : self
getAttachments ( ) : AttachmentCollection

Method Details

addAttachment() public method

public addAttachment ( Crummy\Phlack\Message\AttachmentInterface $attachment ) : self
$attachment Crummy\Phlack\Message\AttachmentInterface
return self

getAttachments() public method

public getAttachments ( ) : AttachmentCollection
return Crummy\Phlack\Message\Collection\AttachmentCollection