<?php
namespace JMS\Serializer\Handler;
interface SubscribingHandlerInterface
{
/**
* Return format:
*
* array(
* array(
* 'direction' => GraphNavigator::DIRECTION_SERIALIZATION,
* 'format' => 'json',
* 'type' => 'DateTime',
* 'method' => 'serializeDateTimeToJson',
* ),
* )
*
* The direction and method keys can be omitted.
*
* @return array
*/
public static function getSubscribingMethods();
}
-
Ketan authoredf012f907