Skip to content

Commit

Permalink
🎨 lets get more OO and return this
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Oct 24, 2018
1 parent 5373131 commit 49c6be5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MetApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@ protected function option($name, $type, $default=false) {
if ($default !== false) {
$this->query['defaults'][$name] = $default;
}
return $this;
}

protected function options($options) {
foreach ($options as $key=>$value) {
$this->option($key, $value);
}
return $this;
}

protected function addMeta($name, $value) {
Expand Down

0 comments on commit 49c6be5

Please sign in to comment.