Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 8, 2023
1 parent 4745058 commit 553661b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ComponentModel/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ protected function createComponent(string $name): ?IComponent
*/
final public function getComponents(bool $deep = false, ?string $filterType = null): \Iterator
{
//generato
$iterator = new RecursiveComponentIterator($this->components);
if ($deep) {
$iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::SELF_FIRST);
Expand Down

0 comments on commit 553661b

Please sign in to comment.