Пример #1
0
 public function __construct($config, $name, $catMetric = null)
 {
     parent::__construct();
     $this->filename = $config;
     $this->category = $name;
     if (null !== $catMetric) {
         $this->cat_metric = $catMetric;
     }
 }
Пример #2
0
 public function __construct($name)
 {
     parent::__construct();
     $this->filename = self::FILE_NAME;
     $this->category = $name;
 }