Files
afup/sources/AppBundle/Event/Model/Badge.php
2019-11-23 22:57:00 +01:00

90 lines
1.4 KiB
PHP

<?php
namespace AppBundle\Event\Model;
use CCMBenchmark\Ting\Entity\NotifyProperty;
use CCMBenchmark\Ting\Entity\NotifyPropertyInterface;
class Badge implements NotifyPropertyInterface
{
use NotifyProperty;
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $label;
/**
* @var string
*/
private $url;
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*
* @return $this
*/
public function setId($id)
{
$id = (int) $id;
$this->propertyChanged('id', $this->id, $id);
$this->id = $id;
return $this;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string $label
*
* @return $this
*/
public function setLabel($label)
{
$this->propertyChanged('label', $this->label, $label);
$this->label = $label;
return $this;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* @param string $url
*
* @return $this
*/
public function setUrl($url)
{
$this->propertyChanged('url', $this->url, $url);
$this->url = $url;
return $this;
}
}