for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Cairns\Radiate\Recorder;
final class InMemoryRecorder implements Recorder
{
private $events = [];
public function release()
$events = $this->events;
$this->clear();
return $events;
}
public function clear()
$this->events = [];
public function record($events)
$this->events[] = array_merge($this->events, $events);