| 1 | <?php |
||
| 9 | class BbcMonthlyFlightsBillCron |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var DoliDB |
||
| 14 | */ |
||
| 15 | private $db; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var stdClass |
||
| 19 | */ |
||
| 20 | private $conf; |
||
| 21 | |||
| 22 | private $langs; |
||
| 23 | |||
| 24 | private $user; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var CreateMonthBillCommandHandler |
||
| 28 | */ |
||
| 29 | private $handler; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param DoliDB $db |
||
| 33 | */ |
||
| 34 | public function __construct($db) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Run the cron job. |
||
| 47 | * |
||
| 48 | * @return int <0 if error |
||
| 49 | */ |
||
| 50 | public function run() |
||
| 73 | |||
| 74 | } |