From: Joshua Rüsweg Date: Fri, 27 Dec 2019 14:27:28 +0000 (+0100) Subject: Add ViewableArticleContentRuntimeCache X-Git-Tag: 5.2.0~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07dfb677fd1e072a96f782b4ea63ac943165f9e7;p=GitHub%2FWoltLab%2FWCF.git Add ViewableArticleContentRuntimeCache --- diff --git a/wcfsetup/install/files/lib/system/cache/runtime/ViewableArticleContentRuntimeCache.class.php b/wcfsetup/install/files/lib/system/cache/runtime/ViewableArticleContentRuntimeCache.class.php new file mode 100644 index 0000000000..46c90d9534 --- /dev/null +++ b/wcfsetup/install/files/lib/system/cache/runtime/ViewableArticleContentRuntimeCache.class.php @@ -0,0 +1,24 @@ + + * @package WoltLabSuite\Core\System\Cache\Runtime + * @since 5.2 + * + * @method ViewableArticleContent[] getCachedObjects() + * @method ViewableArticleContent getObject($objectID) + * @method ViewableArticleContent[] getObjects(array $objectIDs) + */ +class ViewableArticleContentRuntimeCache extends AbstractRuntimeCache { + /** + * @inheritDoc + */ + protected $listClassName = ViewableArticleContentList::class; +}