Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     if (static::$manager->has('default://.repose.d/schema/default.json')) {
         $this->loadSchemas();
     }
     //        static::$logger->addInfo( __CLASS__.'::'.__FUNCTION__.' init complete');
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 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();
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct();
     $this->spool = [];
 }
 public function __construct()
 {
     parent::__construct();
 }