allow custom export repositories (#2182)

This commit is contained in:
Kevin Papst
2020-12-10 15:00:14 +01:00
committed by GitHub
parent c3fe8d1c39
commit 7a3388646b
18 changed files with 320 additions and 72 deletions

View File

@@ -14,20 +14,20 @@ class ExportQuery extends TimesheetQuery
/**
* @var string
*/
private $type;
private $renderer;
/**
* @var bool
*/
private $markAsExported = false;
public function getType(): ?string
public function getRenderer(): ?string
{
return $this->type;
return $this->renderer;
}
public function setType(string $type): ExportQuery
public function setRenderer(string $renderer): ExportQuery
{
$this->type = $type;
$this->renderer = $renderer;
return $this;
}