PHP Class Crummy\Phlack\Message\Attachment

Inheritance: extends Partial, implements Crummy\Phlack\Message\AttachmentInterface
Mostra file Open project: mcrumm/phlack

Protected Properties

Property Type Description
$optional

Public Methods

Method Description
__construct ( $data = [] )
addField ( Crummy\Phlack\Message\FieldInterface $field )
getFields ( ) : FieldCollection

Protected Methods

Method Description
setDefaultOptions ( OptionsResolver $resolver )

Method Details

__construct() public method

public __construct ( $data = [] )

addField() public method

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

getFields() public method

public getFields ( ) : FieldCollection
return Crummy\Phlack\Message\Collection\FieldCollection

setDefaultOptions() protected method

protected setDefaultOptions ( OptionsResolver $resolver )
$resolver Crummy\Phlack\Common\OptionsResolver

Property Details

$optional protected_oe property

protected $optional