Add source code for fourth part of tutorial series
[GitHub/WoltLab/woltlab.github.io.git] / snippets / tutorial / tutorial-series / part-4 / files / lib / system / cache / runtime / PersonRuntimeCache.class.php
CommitLineData
0f534b55
MS
1<?php
2
3namespace wcf\system\cache\runtime;
4
5use wcf\data\person\Person;
6use wcf\data\person\PersonList;
7
8/**
9 * Runtime cache implementation for people.
10 *
11 * @author Matthias Schmidt
12 * @copyright 2001-2021 WoltLab GmbH
13 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
14 * @package WoltLabSuite\Core\System\Cache\Runtime
15 *
16 * @method Person[] getCachedObjects()
17 * @method Person getObject($objectID)
18 * @method Person[] getObjects(array $objectIDs)
19 */
20class PersonRuntimeCache extends AbstractRuntimeCache
21{
22 /**
23 * @inheritDoc
24 */
25 protected $listClassName = PersonList::class;
26}