eZ\Publish\Core\REST\Client\ContentTypeService::loadContentType PHP Метод

loadContentType() публичный Метод

Get a Content Type object by id.
public loadContentType ( mixed $contentTypeId ) : eZ\Publish\API\Repository\Values\ContentType\ContentType
$contentTypeId mixed
Результат 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));
    }