for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace As3\Modlr\Rest;
/**
* REST Payload object wrapper.
*
* @author Jacob Bare <[email protected]>
*/
class RestPayload
{
* The payload contents.
* @var string
private $data;
* Constructor.
* @param string $data
public function __construct($data)
$this->data = $data;
}
* Gets the payload contents.
* @return string
public function getData()
return $this->data;