for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jabe\Engine\Impl\Metrics;
use Jabe\Engine\Impl\Interceptor\{
CommandInterface,
CommandContext
};
class MetricsQuerySumCmd implements CommandInterface
{
protected $metricsQuery;
public function __construct(MetricsQueryImpl $metricsQuery)
$this->metricsQuery = $metricsQuery;
}
public function execute(CommandContext $commandContext)
return $commandContext->getMeterLogManager()
->executeSelectSum($metricsQuery);
$metricsQuery