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
355 B
PHP
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;
|
|
}
|
|
}
|