for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jabe\Engine\Impl\Metrics\Reporter;
use Jabe\Engine\Impl\Interceptor\{
CommandInterface,
CommandContext
};
class MetricsCollectionCmd implements CommandInterface
{
protected $logs = [];
public function __construct(array $logs)
$this->logs = $logs;
}
public function execute(CommandContext $commandContext)
foreach ($this->logs as $meterLogEntity) {
$commandContext->getMeterLogManager()->insert($meterLogEntity);
return null;