first draft

This commit is contained in:
DavidBadura
2015-02-05 20:41:03 +01:00
parent bb89e0ea4d
commit fe02653016
11 changed files with 654 additions and 1 deletions

57
src/Task.php Normal file
View File

@@ -0,0 +1,57 @@
<?php
namespace DavidBadura\Taskwarrior;
use JMS\Serializer\Annotation as JMS;
/**
* @author David Badura <d.a.badura@gmail.com>
*/
class Task
{
/**
* @var string
*
* @JMS\Type(name="string")
*/
private $uuid;
/**
* @var string
*
* @JMS\Type(name="string")
*/
private $description;
/**
* @return string
*/
public function getUuid()
{
return $this->uuid;
}
/**
* @param string $uuid
*/
public function setUuid($uuid)
{
$this->uuid = $uuid;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
}