embedded-php/sensors

View on GitHub
src/AbstractSensor.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
declare(strict_types = 1);

namespace EmbeddedPhp\Sensors;

abstract class AbstractSensor implements SensorInterface {
  protected string $name = '';
  protected string $description = '';

  public function getName(): string {
    return $this->name;
  }

  public function getDescription(): string {
    return $this->description;
  }
}