Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Jarves
ContentTypes
ContentTypes
addType
Jarves\ContentTypes\ContentTypes::addType PHP Method
ContentTypes Class Documentation
Show file
Open project: jarves/jarves
addType()
public
method
public
addType
(
string
$type
,
AbstractType
$contentType
)
$type
string
$contentType
AbstractType
public function addType($type, $contentType) { $this->types[$type] = $contentType; }
ContentTypes
addType
getType