コード例 #1
0
ファイル: Base.php プロジェクト: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['id' => $this->getId(), 'url' => $this->getUrl(), 'testUrl' => $this->getTestUrl(), 'testLookFor' => $this->getTestLookFor()]);
 }
コード例 #2
0
ファイル: Base.php プロジェクト: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['object' => $this->getObject(), 'resource' => $this->getResource()]);
 }
コード例 #3
0
ファイル: Base.php プロジェクト: psesd/sensors
 public function simpleProperties()
 {
     return array_merge(parent::simpleProperties(), ['server' => $this->getServer(), 'id' => $this->getId()]);
 }
コード例 #4
0
ファイル: Sensor.php プロジェクト: psesd/sensors
 public function simpleProperties()
 {
     $properties = parent::simpleProperties();
     $properties['payload'] = $this->payload;
     return $properties;
 }