PHP Class spec\Crummy\Phlack\Message\Collection\FieldCollectionSpec

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

Public Methods

Method Description
fieldExamples ( )
getExamples ( callable $callback )
it_accepts_field_interface_elements ( Field $field )
it_can_be_cast_as_a_json_string ( $field, $expected )
it_can_be_passed_to_json_encode ( $field, $expected )
it_does_not_allow_other_elements ( Attachment $attachment )
it_is_an_encodable_collection ( )
jsonExamples ( )

Method Details

fieldExamples() public method

public fieldExamples ( )

getExamples() public method

public getExamples ( callable $callback )
$callback callable

it_accepts_field_interface_elements() public method

public it_accepts_field_interface_elements ( Field $field )
$field Crummy\Phlack\Message\Field

it_can_be_cast_as_a_json_string() public method

public it_can_be_cast_as_a_json_string ( $field, $expected )

it_can_be_passed_to_json_encode() public method

public it_can_be_passed_to_json_encode ( $field, $expected )

it_does_not_allow_other_elements() public method

public it_does_not_allow_other_elements ( Attachment $attachment )
$attachment Crummy\Phlack\Message\Attachment

it_is_an_encodable_collection() public method

jsonExamples() public method

public jsonExamples ( )