yiisoft/yii2-framework — pull request #8 by stepanselyuk (2014-08-01 20:36:52+00:00)
Title: Handling $query->joinWith called inside of other $query->joinWith with Closure

Handling $query->joinWith called inside of other $query->joinWith with Closure (called inside Closure). Ex.:

```php
$query->joinWith( [ 'rel1' => function($query) {
$query->joinWith( [ 'rel2' => function($query) {
// ...
} ] );
} ] );
```