public function convertPhpToXml($php) { return sprintf('<%1$s>%2$s</%1$s>', $this->getTypeName(), $php->format('Y-m-d')); }