eZ\Publish\Core\Repository\ContentService::internalLoadContentInfo PHP Method

internalLoadContentInfo() public method

To load fields use loadContent
public internalLoadContentInfo ( mixed $id, boolean $isRemoteId = false ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
$id mixed
$isRemoteId boolean
return eZ\Publish\API\Repository\Values\Content\ContentInfo
    public function internalLoadContentInfo($id, $isRemoteId = false)
    {
        try {
            $method = $isRemoteId ? 'loadContentInfoByRemoteId' : 'loadContentInfo';
            return $this->domainMapper->buildContentInfoDomainObject($this->persistenceHandler->contentHandler()->{$method}($id));
        } catch (APINotFoundException $e) {
            throw new NotFoundException('Content', $id, $e);
        }
    }