PHP Class Crummy\Phlack\Common\Collection\TypeCollection

Inheritance: extends ArrayCollection
Datei anzeigen Open project: mcrumm/phlack

Public Methods

Method Description
__construct ( array $elements = [] )
acceptsType ( $value ) : boolean
add ( $value )
set ( $key, $value )

Private Methods

Method Description
doUnexpectedValueError ( $element ) : Crummy\Phlack\Common\Exception\UnexpectedValueException

Method Details

__construct() public method

public __construct ( array $elements = [] )
$elements array

acceptsType() abstract public method

abstract public acceptsType ( $value ) : boolean
$value
return boolean

add() public method

public add ( $value )

set() public method

public set ( $key, $value )