import axiom without dependency on symfony console
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit

This commit is contained in:
2020-06-21 07:36:31 -04:00
parent 348d17cdd3
commit fb619dccbf
27 changed files with 2608 additions and 829 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Enzyme\Axiom\Reports;
class SimpleReport implements ReportInterface
{
protected $message;
protected $details;
public function __construct($message, $details = [])
{
$this->message = $message;
$this->details = $details;
}
public function getMessage()
{
return $this->message;
}
public function hasDetails()
{
return count($this->details) > 0;
}
public function getDetails()
{
return $this->details;
}
}