src/Archive/Date.php
<?php
/*
* This file is part of the VantomasWebsite package.
*
* (c) Thomas Juhnke <dev@van-tomas.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DreadLabs\VantomasWebsite\Archive;
/**
* Value object for the archive
*
* @author Thomas Juhnke <dev@van-tomas.de>
*/
class Date
{
/**
* @var \DateTime
*/
protected $date;
/**
* @param \DateTime $date
*/
public function __construct(\DateTime $date)
{
$this->date = $date;
}
/**
* @return \DateTime
*/
public function getValue()
{
return $this->date;
}
}