You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
476 B
24 lines
476 B
<?php
|
|
|
|
namespace model;
|
|
|
|
class IdSessionDoubleException extends \RuntimeException
|
|
{
|
|
private int $idJoueur;
|
|
private string $idSession;
|
|
|
|
public function __construct($idJoueur, $idSession)
|
|
{
|
|
parent::__construct();
|
|
$this->idJoueur=$idJoueur;
|
|
$this->idSession=$idSession;
|
|
}
|
|
|
|
public function getIdJoueur():int{
|
|
return $this->idJoueur;
|
|
}
|
|
|
|
public function getIdSession(): string{
|
|
return $this->idSession;
|
|
}
|
|
} |