for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DrewM\Drip;
class Dataset implements \JsonSerializable
{
protected $label = false;
protected $data = [];
public function __construct($label, $data)
$this->label = $label;
$this->data = $data;
}
public function jsonSerialize()
return [
$this->label => [
$this->data,
],
];