eZ\Publish\Core\REST\Client\ContentService::loadContentInfoByRemoteId PHP Method

loadContentInfoByRemoteId() public method

To load fields use loadContent
public loadContentInfoByRemoteId ( string $remoteId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
$remoteId string
return eZ\Publish\API\Repository\Values\Content\ContentInfo
    public function loadContentInfoByRemoteId($remoteId)
    {
        $response = $this->client->request('GET', $this->requestParser->generate('objectByRemote', array('object' => $remoteId)), new Message(array('Accept' => $this->outputVisitor->getMediaType('ContentInfo'))));
        if ($response->statusCode == 307) {
            $response = $this->client->request('GET', $response->headers['Location'], new Message(array('Accept' => $this->outputVisitor->getMediaType('ContentInfo'))));
        }
        $restContentInfo = $this->inputDispatcher->parse($response);
        return $this->completeContentInfo($restContentInfo);
    }