1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Handler;
6
7interface SubscribingHandlerInterface
8{
9    /**
10     * Return format:
11     *
12     *      array(
13     *          array(
14     *              'direction' => GraphNavigatorInterface::DIRECTION_SERIALIZATION,
15     *              'format' => 'json',
16     *              'type' => 'DateTime',
17     *              'method' => 'serializeDateTimeToJson',
18     *          ),
19     *      )
20     *
21     * The direction and method keys can be omitted.
22     *
23     * @return array
24     *
25     * @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint
26     */
27    public static function getSubscribingMethods();
28}
29