for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Marek\Toggable\API\Http\Request\Task;
use Marek\Toggable\API\Http\Request\Request;
/**
* Class CreateTask
* @package Marek\Toggable\API\Http\Request\Task
*/
class CreateTask extends Request
{
* @var string
protected $uri = 'tasks';
protected $method = Request::POST;
* {@inheritdoc}
public function jsonSerialize()
return array('task' => $this->data);
}