PHP Interface Crummy\Phlack\Message\MessageInterface

Inheritance: extends Crummy\Phlack\Common\Encodable
Afficher le fichier Open project: mcrumm/phlack Interface Usage Examples

Méthodes publiques

Méthode Description
addAttachment ( Crummy\Phlack\Message\AttachmentInterface $attachment ) : self
getAttachments ( ) : AttachmentCollection

Method Details

addAttachment() public méthode

public addAttachment ( Crummy\Phlack\Message\AttachmentInterface $attachment ) : self
$attachment Crummy\Phlack\Message\AttachmentInterface
Résultat self

getAttachments() public méthode

public getAttachments ( ) : AttachmentCollection
Résultat Crummy\Phlack\Message\Collection\AttachmentCollection