public static function getSubscribingMethods() { $methods = parent::getSubscribingMethods(); $methods[] = array('type' => 'DateTime', 'direction' => GraphNavigator::DIRECTION_DESERIALIZATION, 'format' => 'array'); return $methods; }