PHP 클래스 spec\Crummy\Phlack\Message\Collection\AttachmentCollectionSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: mcrumm/phlack

공개 메소드들

메소드 설명
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