98 lines
1.5 KiB
PHP
98 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* This class has been generated by TheliaStudio
|
|
* For more information, see https://github.com/thelia-modules/TheliaStudio
|
|
*/
|
|
|
|
namespace Contest\Event\Base;
|
|
|
|
use Thelia\Core\Event\ActionEvent;
|
|
use Contest\Model\Game;
|
|
|
|
/**
|
|
* Class GameEvent
|
|
* @package Contest\Event\Base
|
|
* @author TheliaStudio
|
|
*/
|
|
class GameEvent extends ActionEvent
|
|
{
|
|
protected $id;
|
|
protected $visible;
|
|
protected $title;
|
|
protected $description;
|
|
protected $game;
|
|
protected $locale;
|
|
|
|
public function getLocale()
|
|
{
|
|
return $this->locale;
|
|
}
|
|
|
|
public function setLocale($v)
|
|
{
|
|
$this->locale = $v;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId($id)
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getVisible()
|
|
{
|
|
return $this->visible;
|
|
}
|
|
|
|
public function setVisible($visible)
|
|
{
|
|
$this->visible = $visible;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getTitle()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
public function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getGame()
|
|
{
|
|
return $this->game;
|
|
}
|
|
|
|
public function setGame(Game $game)
|
|
{
|
|
$this->game = $game;
|
|
|
|
return $this;
|
|
}
|
|
}
|