Skip to content

Commit

Permalink
AbstractFormElementContainer: Add method hasElements()
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Tubach committed Sep 4, 2024
1 parent a9a7120 commit f7abf26
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ public function getElements(): array {
return $this->elements;
}

public function hasElements(): bool {
return [] !== $this->getElements();
}

/**
* @return $this
*/
Expand Down

0 comments on commit f7abf26

Please sign in to comment.