eZ\Publish\Core\Persistence\Cache\ContentHandler::loadContentInfoByRemoteId PHP Метод

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

См. также: eZ\Publish\SPI\Persistence\Content\Handler::loadContentInfoByRemoteId
public loadContentInfoByRemoteId ( $remoteId )
    public function loadContentInfoByRemoteId($remoteId)
    {
        $cache = $this->cache->getItem('content', 'info', 'remoteId', $remoteId);
        $contentInfo = $cache->get();
        if ($cache->isMiss()) {
            $this->logger->logCall(__METHOD__, array('content' => $remoteId));
            $cache->set($contentInfo = $this->persistenceHandler->contentHandler()->loadContentInfoByRemoteId($remoteId))->save();
        }
        return $contentInfo;
    }