Code Duplication    Length = 10-13 lines in 2 locations

eZ/Publish/Core/Persistence/Cache/ContentHandler.php 2 locations

@@ 52-61 (lines=10) @@
49
    /**
50
     * @see \eZ\Publish\SPI\Persistence\Content\Handler::copy
51
     */
52
    public function copy($contentId, $versionNo = null, $newOwnerId = null)
53
    {
54
        $this->logger->logCall(__METHOD__, array(
55
            'content' => $contentId,
56
            'version' => $versionNo,
57
            'newOwner' => $newOwnerId,
58
        ));
59
60
        return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId);
61
    }
62
63
    /**
64
     * @see \eZ\Publish\SPI\Persistence\Content\Handler::load
@@ 286-298 (lines=13) @@
283
    /**
284
     * @see \eZ\Publish\SPI\Persistence\Content\Handler::loadRelations
285
     */
286
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
287
    {
288
        $this->logger->logCall(
289
            __METHOD__,
290
            array(
291
                'content' => $sourceContentId,
292
                'version' => $sourceContentVersionNo,
293
                'type' => $type,
294
            )
295
        );
296
297
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
298
    }
299
300
    /**
301
     * @see \eZ\Publish\SPI\Persistence\Content\Handler::loadReverseRelations