date.chapril.org-framadate/app/classes/Framadate/Exception/SlotAlreadyExistsException.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
355 B
PHP

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