PHP Class spec\Crummy\Phlack\Message\MessageSpec

Inheritance: extends PhpSpec\ObjectBehavior
Exibir arquivo Open project: mcrumm/phlack

Public Methods

Method Description
it_adds_attachments_to_serialized_output ( AttachmentCollection $attachments, Crummy\Phlack\Message\AttachmentInterface $attachment )
it_allows_for_direct_messages_in_channel ( )
it_contains_text ( )
it_does_not_add_attachments_if_empty ( AttachmentCollection $attachments )
it_does_not_alter_passed_channel ( )
it_does_not_double_wrap_the_icon_emoji ( )
it_increments_the_field_count_on_add ( Crummy\Phlack\Message\AttachmentInterface $attachment )
it_is_initializable ( )
it_prints_as_json ( )
it_returns_an_attachment_collection ( )
it_wraps_icon_emoji_in_colons_on_construct ( )
let ( )

Method Details

it_adds_attachments_to_serialized_output() public method

public it_adds_attachments_to_serialized_output ( AttachmentCollection $attachments, Crummy\Phlack\Message\AttachmentInterface $attachment )
$attachments Crummy\Phlack\Message\Collection\AttachmentCollection
$attachment Crummy\Phlack\Message\AttachmentInterface

it_allows_for_direct_messages_in_channel() public method

it_contains_text() public method

public it_contains_text ( )

it_does_not_add_attachments_if_empty() public method

public it_does_not_add_attachments_if_empty ( AttachmentCollection $attachments )
$attachments Crummy\Phlack\Message\Collection\AttachmentCollection

it_does_not_alter_passed_channel() public method

it_does_not_double_wrap_the_icon_emoji() public method

it_increments_the_field_count_on_add() public method

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

it_is_initializable() public method

public it_is_initializable ( )

it_prints_as_json() public method

public it_prints_as_json ( )

it_returns_an_attachment_collection() public method

it_wraps_icon_emoji_in_colons_on_construct() public method

let() public method

public let ( )