Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: dfddfeaf27
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.296 kB
<?php
namespace FreeAgent\Bitter\UnitOfTime;
/**
* @author Jérémy Romey <jeremy@free-agent.fr>
*/
class Year extends AbstractUnitOfTime implements UnitOfTimeInterface
{
public function getDateTimeFormated()
{
return sprintf('%s', $this->getDateTime()->format('Y'));
}
}
Jump to Line
Something went wrong with that request. Please try again.