/** * AUCMetricTask constructor. */ public function __construct() { foreach (func_get_args() as $arg) { if ($arg instanceof OpenStack\AUC\MetricService) { $this->services[] = $arg; } } parent::__construct(); }
/** * IngestOpenStackComponentsDataCronTask constructor. * @param ITransactionManager $tx_manager */ public function __construct(ITransactionManager $tx_manager) { parent::__construct(); $this->tx_manager = $tx_manager; $this->client = new HttpClient(['defaults' => ['timeout' => 60, 'allow_redirects' => false, 'verify' => true]]); }
/** * IngestCOAFilesTask constructor. * @param ICOAManager $manager */ public function __construct(ICOAManager $manager) { $this->manager = $manager; parent::__construct(); }
/** * SummitVideoProcessingTask constructor. * @param $api */ public function __construct($api) { $this->api = $api; parent::__construct(); }