| 1 | <?php  | 
            ||
| 11 | class SendMetricOnDaemonStarted implements ListenerInterface  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var MetricService */  | 
            ||
| 14 | private $metricService;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * SendMetricOnDaemonStarted constructor.  | 
            ||
| 18 | *  | 
            ||
| 19 | * @param MetricService $metricService  | 
            ||
| 20 | */  | 
            ||
| 21 | public function __construct(MetricService $metricService)  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @param EventInterface $event  | 
            ||
| 28 | *  | 
            ||
| 29 | * @throws ListenerException  | 
            ||
| 30 | */  | 
            ||
| 31 | public function handle(EventInterface $event)  | 
            ||
| 39 | |||
| 40 | public function isListener($listener)  | 
            ||
| 44 | }  | 
            ||
| 45 |