PHP Класс spec\Crummy\Phlack\Message\Collection\AttachmentCollectionSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_accepts_attachment_interface_elements ( Crummy\Phlack\Message\AttachmentInterface $attachment )
it_adds_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment )
it_does_not_allow_other_elements_during_add ( Crummy\Phlack\Message\FieldInterface $field )
it_does_not_allow_other_elements_during_set ( Crummy\Phlack\Message\FieldInterface $field )
it_is_an_encodable_collection ( )
it_sets_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment )
let ( Crummy\Phlack\Message\AttachmentInterface $attachment )

Описание методов

it_accepts_attachment_interface_elements() публичный Метод

public it_accepts_attachment_interface_elements ( Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachment Crummy\Phlack\Message\AttachmentInterface

it_adds_attachments_to_the_collection() публичный Метод

public it_adds_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachment Crummy\Phlack\Message\AttachmentInterface

it_does_not_allow_other_elements_during_add() публичный Метод

public it_does_not_allow_other_elements_during_add ( Crummy\Phlack\Message\FieldInterface $field )
$field Crummy\Phlack\Message\FieldInterface

it_does_not_allow_other_elements_during_set() публичный Метод

public it_does_not_allow_other_elements_during_set ( Crummy\Phlack\Message\FieldInterface $field )
$field Crummy\Phlack\Message\FieldInterface

it_is_an_encodable_collection() публичный Метод

it_sets_attachments_to_the_collection() публичный Метод

public it_sets_attachments_to_the_collection ( Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachment Crummy\Phlack\Message\AttachmentInterface

let() публичный Метод

public let ( Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachment Crummy\Phlack\Message\AttachmentInterface