eZ\Publish\Core\REST\Client\Repository::getContentTypeService PHP Method

getContentTypeService() public method

Get service object to perform operations on Content Type objects and it's aggregate members. ( Group, Field & FieldCategory )
public getContentTypeService ( ) : eZ\Publish\API\Repository\ContentTypeService
return eZ\Publish\API\Repository\ContentTypeService
    public function getContentTypeService()
    {
        if (null === $this->contentTypeService) {
            $this->contentTypeService = new ContentTypeService($this->client, $this->inputDispatcher, $this->outputVisitor, $this->requestParser);
        }
        return $this->contentTypeService;
    }