Skip to content

Commit

Permalink
Merge pull request #3 from luft-jetzt/tags
Browse files Browse the repository at this point in the history
Add $tag to Value model
  • Loading branch information
maltehuebner authored Dec 29, 2020
2 parents eff6b6d + a9c98d2 commit 880582d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Model/Value.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ class Value
*/
protected ?string $pollutant = null;

/**
* @JMS\Expose()
* @JMS\Type("string")
*/
protected ?string $tag = null;

public function __construct()
{

Expand Down Expand Up @@ -85,4 +91,16 @@ public function setPollutant(string $pollutant): Value

return $this;
}

public function getTag(): ?string
{
return $this->tag;
}

public function setTag(string $tag): Value
{
$this->tag = $tag;

return $this;
}
}

0 comments on commit 880582d

Please sign in to comment.