Skip to content

Conversation

@sohrabafard
Copy link
Owner

With this change, we can run a callback per node. For example, we can have a progress bar.

public static function create(array $attributes = [], self $parent = null, callable $callbackForEachChild = null)
{
   ....
}

```
public static function create(array $attributes = [], self $parent = null, callable $callbackForEachChild = null)
{
   ....
}
```
@sohrabafard sohrabafard merged commit c2611eb into v4 Apr 29, 2019
@sohrabafard sohrabafard deleted the sohrabafard-patch-1 branch April 29, 2019 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants