add project attr

This commit is contained in:
DavidBadura
2015-02-06 13:08:13 +01:00
parent 11c9f610a8
commit fa478272b6
5 changed files with 151 additions and 12 deletions

View File

@@ -28,6 +28,13 @@ class Task
*/
private $description;
/**
* @var string
*
* @JMS\Type(name="string")
*/
private $project;
/**
* @var \DateTime
*
@@ -90,6 +97,22 @@ class Task
$this->description = $description;
}
/**
* @return string
*/
public function getProject()
{
return $this->project;
}
/**
* @param string $project
*/
public function setProject($project)
{
$this->project = $project;
}
/**
* @return \DateTime
*/