PHP Class Jarves\ContentTypes\ContentTypes

Show file Open project: jarves/jarves

Protected Properties

Property Type Description
$types AbstractType[]

Public Methods

Method Description
addType ( string $type, AbstractType $contentType )
getType ( string $type ) : AbstractType

Method Details

addType() public method

public addType ( string $type, AbstractType $contentType )
$type string
$contentType AbstractType

getType() public method

public getType ( string $type ) : AbstractType
$type string
return AbstractType

Property Details

$types protected property

protected AbstractType[],Jarves\ContentTypes $types
return AbstractType[]