public function __construct(DataMapper $oDataMapper, LoggerInterface $oLogger, array $aConfig)
 {
     // Parent construct
     parent::__construct('build:dispatch', 'Loop through QUEUED builds, merge same project builds and update build status to DISPATCHED ' . 'for the oldest build that have been created more than 1 minute ago', [['timeout', 't', InputOption::VALUE_OPTIONAL, 'Number of seconds script will run', 1]], $oLogger, $aConfig);
     // Initialize
     $this->oDataMapper = $oDataMapper;
 }
 public function __construct(FileManager $oFileManager, LoggerInterface $oLogger, array $aConfig)
 {
     // Parent construct
     parent::__construct('job:add', 'Add a new job', [], $oLogger, $aConfig);
     // Initialize
     $this->oFileManager = $oFileManager;
 }
 public function __construct(WebhookHandler $oWebhookHandler, LoggerInterface $oLogger, array $aConfig)
 {
     // Parent construct
     parent::__construct('test:webhook', 'Test the webhook', [], $oLogger, $aConfig);
     // Initialize
     $this->oWebhookHandler = $oWebhookHandler;
 }
 public function __construct(DataMapper $oDataMapper, BuildHandler $oBuildHandler, LoggerInterface $oLogger, array $aConfig)
 {
     // Parent construct
     parent::__construct('build:execute', 'Get next DISPATCHED build, update its status to running, execute it and finish it', [['timeout', 't', InputOption::VALUE_OPTIONAL, 'Number of seconds script will run', 1]], $oLogger, $aConfig);
     // Initialize
     $this->oDataMapper = $oDataMapper;
     $this->oBuildHandler = $oBuildHandler;
 }