Skip to content

Commit

Permalink
feat(plugin): allow agent to handle plugin (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthv committed May 10, 2023
1 parent 71556d9 commit f6837e6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Service/ForestAgent.php
Expand Up @@ -45,6 +45,11 @@ public function addChart(string $name, \Closure $definition): self
return $this;
}

public function use(string $plugin, array $options = []): self
{
$this->agent->use($plugin, $options);
}

public function build(): void
{
$this->agent->build();
Expand Down

0 comments on commit f6837e6

Please sign in to comment.