3 namespace wcf\system\cache\runtime
;
5 use wcf\data\conversation\Conversation
;
6 use wcf\data\conversation\UserConversationList
;
10 * Runtime cache implementation for conversation fetched using UserConversationList.
12 * @author Matthias Schmidt
13 * @copyright 2001-2019 WoltLab GmbH
14 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
15 * @package WoltLabSuite\Core\System\Cache\Runtime
18 * @method Conversation[] getCachedObjects()
19 * @method Conversation getObject($objectID)
20 * @method Conversation[] getObjects(array $objectIDs)
22 class UserConversationRuntimeCache
extends AbstractRuntimeCache
27 protected $listClassName = UserConversationList
::class;
29 /** @noinspection PhpMissingParentCallCommonInspection */
34 protected function getObjectList()
36 return new UserConversationList(WCF
::getUser()->userID
);