for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Model\Project;
abstract class Poll
{
/** @var Project **/
protected $project;
/** @var Details **/
protected $details;
/** @var bool **/
protected $isEnded;
/** @var \DateTime **/
protected $createdAt;
protected $endedAt;
public function setProject(Project $project): Poll
$this->project = $project;
return $this;
}
public function getProject(): Project
return $this->project;
public function setDetails(Details $details): Poll
$this->details = $details;
public function getDetails(): Details
return $this->details;
public function setIsEnded(bool $isEnded): Poll
$this->isEnded = $isEnded;
public function getIsEnded(): bool
return $this->isEnded;
public function setCreatedAt(\DateTime $createdAt): Poll
$this->createdAt = $createdAt;
public function getCreatedAt(): \DateTime
return $this->createdAt;
public function setEndedAt(\DateTime $endedAt): Poll
$this->endedAt = $endedAt;
public function getEndedAt(): \DateTime
return $this->endedAt;