date.chapril.org-framadate/app/classes/Framadate/Exception/MomentAlreadyExistsException.php
Thomas Citharel bc964e87a7
[Big] Move displaying dates from libc to PHP-intl / ICU
* Make sure we always work only with DateTimes
* Support slots again under SQLite
* Small fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-04-19 20:29:32 +02:00

21 lines
399 B
PHP

<?php
namespace Framadate\Exception;
class MomentAlreadyExistsException extends SlotAlreadyExistsException {
public $moment;
public function __construct($slot, $moment, $message = '')
{
parent::__construct($slot, $message);
$this->moment = $moment;
}
/**
* @return mixed
*/
public function getMoment()
{
return $this->moment;
}
}