bc964e87a7
* Make sure we always work only with DateTimes * Support slots again under SQLite * Small fixes Signed-off-by: Thomas Citharel <tcit@tcit.fr>
21 lines
399 B
PHP
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;
|
|
}
|
|
}
|