Skip to content

Commit

Permalink
Add shorthand trait abstract addIf method
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzipp committed Mar 11, 2020
1 parent 83e6f04 commit c743662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Services/Traits/ShorthandSetterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,6 @@ public function og(string $property, $content = null, bool $escape = true): self
}

abstract public function add(Struct $struct): parent;

abstract public function addIf(bool $boolean, Struct $struct): parent;
}

0 comments on commit c743662

Please sign in to comment.