for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Enzyme\Axiom\Reports;
use Enzyme\Axiom\Atoms\StringAtom;
class FailureReport implements ReportInterface
{
/**
* The human readable message describing this report.
* @var StringAtom
*/
protected $message;
* The optional details associated with this report.
* @var array
protected $details;
* Create a new generic failure report given the message and optional
* details associated with it.
*
* @param StringAtom $message
* @param array $details
public function __construct(StringAtom $message, array $details = [])
$this->message = $message;
$this->details = $details;
}
* @see ReportInterface
public function getMessage()
return $this->message->getValue();
public function hasDetails()
return count($this->details) > 0;
public function getDetails()
return $this->details;