for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Scientist;
class Trial
{
/**
* @var string
*/
protected $name;
* @var callable
protected $callback;
* @var mixed
protected $metadata;
public function __construct($name, callable $callback, $metadata)
$this->name = $name;
$this->callback = $callback;
$this->metadata = $metadata;
}
public function getName()
return $this->name;
public function getCallback()
return $this->callback;
public function getMetadata()
return $this->metadata;