/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Contracts/Queue/Monitor.php
38 строк
864 B
Jack Bayliss
[13.x] Add starting to Monitor Contract (#58399)
16 янв 2026, 20:40
Не верифицирован
16 янв 2026, 20:40
2a303eb
Код
Авторство
О чём код?
<?php namespace Illuminate\Contracts\Queue; interface Monitor { /** * Register a callback to be executed when a daemon queue is starting. * * @param mixed $callback * @return void */ public function starting($callback); /** * Register a callback to be executed on every iteration through the queue loop. * * @param mixed $callback * @return void */ public function looping($callback); /** * Register a callback to be executed when a job fails after the maximum number of retries. * * @param mixed $callback * @return void */ public function failing($callback); /** * Register a callback to be executed when a daemon queue is stopping. * * @param mixed $callback * @return void */ public function stopping($callback); }