From: Matthias Schmidt Date: Wed, 9 Jun 2021 13:13:42 +0000 (+0200) Subject: Add `ViewableComment(Response)RuntimeCache` X-Git-Tag: 5.5.0_Alpha_1~670^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c79a5bf931029b082e5b174398f8c7c069531305;p=GitHub%2FWoltLab%2FWCF.git Add `ViewableComment(Response)RuntimeCache` --- diff --git a/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentResponseRuntimeCache.class.php b/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentResponseRuntimeCache.class.php new file mode 100644 index 0000000000..2fcdd4cf5e --- /dev/null +++ b/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentResponseRuntimeCache.class.php @@ -0,0 +1,27 @@ + + * @package WoltLabSuite\Core\System\Cache\Runtime + * @since 5.5 + * + * @method ViewableCommentResponse[] getCachedObjects() + * @method ViewableCommentResponse getObject($objectID) + * @method ViewableCommentResponse[] getObjects(array $objectIDs) + */ +class ViewableCommentResponseRuntimeCache extends AbstractRuntimeCache +{ + /** + * @inheritDoc + */ + protected $listClassName = ViewableCommentResponseList::class; +} diff --git a/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentRuntimeCache.class.php b/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentRuntimeCache.class.php new file mode 100644 index 0000000000..adf975e79c --- /dev/null +++ b/wcfsetup/install/files/lib/system/cache/runtime/ViewableCommentRuntimeCache.class.php @@ -0,0 +1,27 @@ + + * @package WoltLabSuite\Core\System\Cache\Runtime + * @since 5.5 + * + * @method ViewableComment[] getCachedObjects() + * @method ViewableComment getObject($objectID) + * @method ViewableComment[] getObjects(array $objectIDs) + */ +class ViewableCommentRuntimeCache extends AbstractRuntimeCache +{ + /** + * @inheritDoc + */ + protected $listClassName = ViewableCommentList::class; +}