public loadContentType ( mixed $contentTypeId ) : eZ\Publish\API\Repository\Values\ContentType\ContentType | ||
$contentTypeId | mixed | |
return | eZ\Publish\API\Repository\Values\ContentType\ContentType |
public function loadContentType($contentTypeId)
{
$response = $this->client->request('GET', $contentTypeId, new Message(array('Accept' => $this->outputVisitor->getMediaType('ContentType'))));
return $this->completeContentType($this->inputDispatcher->parse($response));
}