public function defaultSensors() { $sensors = parent::defaultSensors(); return $sensors; }
public function simpleProperties() { return array_merge(parent::simpleProperties(), ['server' => $this->getServer(), 'id' => $this->getId()]); }
public function simpleProperties() { return array_merge(parent::simpleProperties(), ['object' => $this->getObject(), 'resource' => $this->getResource()]); }
public function behaviors() { return array_merge(parent::behaviors(), ['HasSensors' => ['class' => HasSensorsBehavior::className()]]); }
public function defaultSensors() { $sensors = parent::defaultSensors(); $sensors['stale-provider'] = ['class' => StaleProviderSensor::className()]; return $sensors; }
public function getPackage() { $package = parent::getPackage(); $package['id'] = $this->getId(); return $package; }