37d10603065d84dc257f13f11e92ea54af175cea
[GitHub/WoltLab/WCF.git] /
1 <?php
2 declare(strict_types=1);
3 namespace wcf\system\message\embedded\object;
4 use wcf\system\html\input\HtmlInputProcessor;
5
6 /**
7 * Provides default implementations for simple message embedded object handlers.
8 *
9 * @author Alexander Ebert
10 * @copyright 2001-2018 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\System\Message\Embedded\Object
13 */
14 abstract class AbstractSimpleMessageEmbeddedObjectHandler extends AbstractMessageEmbeddedObjectHandler implements ISimpleMessageEmbeddedObjectHandler {
15 /**
16 * @inheritDoc
17 */
18 public function parse(HtmlInputProcessor $htmlInputProcessor, array $embeddedData) {
19 // this default implementation allows for embedded object handlers that
20 // only handle the simplified syntax
21 return [];
22 }
23 }