add start&stop

This commit is contained in:
DavidBadura
2015-04-23 19:33:10 +00:00
parent f4ba78f822
commit 9f3ea62916
4 changed files with 83 additions and 5 deletions

View File

@@ -84,6 +84,13 @@ class Task
*/
private $entry;
/**
* @var Carbon
*
* @JMS\Type("Carbon")
*/
private $start;
/**
* @var string
*
@@ -186,7 +193,7 @@ class Task
}
/**
* @return \DateTime
* @return Carbon
*/
public function getDue()
{
@@ -202,7 +209,7 @@ class Task
}
/**
* @return \DateTime
* @return Carbon
*/
public function getWait()
{
@@ -284,7 +291,7 @@ class Task
}
/**
* @return \DateTime
* @return Carbon
*/
public function getUntil()
{
@@ -300,7 +307,7 @@ class Task
}
/**
* @return \DateTime
* @return Carbon
*/
public function getEntry()
{
@@ -308,7 +315,15 @@ class Task
}
/**
* @return \DateTime
* @return Carbon
*/
public function getStart()
{
return $this->start;
}
/**
* @return Carbon
*/
public function getModified()
{