eZ\Publish\Core\Persistence\Legacy\Content\Type\MemoryCachingHandler::loadByRemoteId PHP Method

loadByRemoteId() public method

Load a (defined) content type by remote id.
public loadByRemoteId ( mixed $remoteId ) : eZ\Publish\SPI\Persistence\Content\Type
$remoteId mixed
return eZ\Publish\SPI\Persistence\Content\Type
    public function loadByRemoteId($remoteId)
    {
        if (isset($this->contentTypes['remoteId'][$remoteId])) {
            return $this->contentTypes['remoteId'][$remoteId];
        }
        return $this->contentTypes['remoteId'][$remoteId] = $this->innerHandler->loadByRemoteId($remoteId);
    }