Normalize the orientation of uploaded files
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / smiley / SmileyEditor.class.php
CommitLineData
dcc2332d 1<?php
a9229942 2
dcc2332d 3namespace wcf\data\smiley;
a9229942 4
dcc2332d
MW
5use wcf\data\DatabaseObjectEditor;
6use wcf\data\IEditableCachedObject;
7use wcf\system\cache\builder\SmileyCacheBuilder;
8
9/**
10 * Provides functions to edit smilies.
a9229942
TD
11 *
12 * @author Alexander Ebert
13 * @copyright 2001-2019 WoltLab GmbH
14 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
a9229942
TD
15 *
16 * @method static Smiley create(array $parameters = [])
17 * @method Smiley getDecoratedObject()
18 * @mixin Smiley
dcc2332d 19 */
a9229942
TD
20class SmileyEditor extends DatabaseObjectEditor implements IEditableCachedObject
21{
22 /**
23 * @inheritDoc
24 */
25 public static $baseClass = Smiley::class;
26
27 /**
28 * @inheritDoc
29 */
30 public static function resetCache()
31 {
32 SmileyCacheBuilder::getInstance()->reset();
33 }
dcc2332d 34}