public function __construct() { parent::__construct(); if (static::$manager->has('default://.repose.d/schema/default.json')) { $this->loadSchemas(); } // static::$logger->addInfo( __CLASS__.'::'.__FUNCTION__.' init complete'); }
public function __construct($staged_filename, $target_vol) { parent::__construct(); $this->staging = $this->config->get('staging.local') . DS . 'default'; // now suffixed with disk - since 0.4.4 $this->staged_filename = $staged_filename; $this->target_vol = $target_vol; }
public function __construct() { parent::__construct(); $this->scanlog = new Logger('scanlog'); $logname = core_config('logs.path') . DS . 'health_check.log'; $this->scanlog->pushHandler(new StreamHandler($logname, Logger::DEBUG)); $this->config = \Symfony\Component\Yaml\Yaml::parse(file_get_contents(core_config_path() . '/core.yaml')); print_r($this->config); }
public function __construct(Asset $asset, $info = null) { parent::__construct(); $this->asset = $asset; if ($info['path']) { $this->path($info['path']); // $info comes from Flysystem MountManager - filename is correct here $this->asset->uuid($info['filename']); // uuid by another name } $this->maybeReload(); }
public function __construct() { parent::__construct(); $this->spool = []; }
public function __construct() { parent::__construct(); }