for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This is part of the webuni/srazy-api-client.
*
* (c) Martin Hasoň <[email protected]>
* (c) Webuni s.r.o. <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Webuni\Srazy\Model;
class Comment
{
private $event;
private $author;
private $date;
private $text;
public function getEvent()
return $this->event;
}
public function setEvent(Event $event)
$this->event = $event;
public function getAuthor()
return $this->author;
public function setAuthor(User $author)
$this->author = $author;
public function getDate()
return $this->date;
public function setDate(\DateTime $date)
$this->date = $date;
public function getText()
return $this->text;
public function setText($text)
$this->text = $text;