ok
Direktori : /home2/selectio/public_html/innerstore/vendor/facade/flare-client-php/src/Middleware/ |
Current File : /home2/selectio/public_html/innerstore/vendor/facade/flare-client-php/src/Middleware/AddGlows.php |
<?php namespace Facade\FlareClient\Middleware; use Facade\FlareClient\Glows\Recorder; use Facade\FlareClient\Report; class AddGlows { /** @var Recorder */ private $recorder; public function __construct(Recorder $recorder) { $this->recorder = $recorder; } public function handle(Report $report, $next) { foreach ($this->recorder->glows() as $glow) { $report->addGlow($glow); } return $next($report); } }