1 | <?php |
||
13 | class DeserializeAttachmentSubscriber implements SubscribingHandlerInterface |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * Return format: |
||
18 | * |
||
19 | * array( |
||
20 | * array( |
||
21 | * 'direction' => GraphNavigatorInterface::DIRECTION_SERIALIZATION, |
||
22 | * 'format' => 'json', |
||
23 | * 'type' => 'DateTime', |
||
24 | * 'method' => 'serializeDateTimeToJson', |
||
25 | * ), |
||
26 | * ) |
||
27 | * |
||
28 | * The direction and method keys can be omitted. |
||
29 | * |
||
30 | * @return array |
||
31 | * |
||
32 | * @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingReturnTypeHint |
||
33 | */ |
||
34 | public static function getSubscribingMethods() |
||
70 | |||
71 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.