title: Yii2: Use scopes of realtion in with() of ActiveRecord
body: <p>In Yii1 I could do something like this:</p>
  
  <pre><code>$posts=Post::model()-&gt;with(array(
      'comments'=&gt;array(
          'scopes'=&gt;array('recently','approved')
      ),
  ))-&gt;findAll();
  </code></pre>
  
  <p>Is there a way to call a scope of a relation in the callback function of with() in Yii2?</p>
  
  <pre><code>Customer::find()-&gt;with([
      'orders' =&gt; function ($query) {
          $query-&gt;andWhere('status = 1');
      },
      'country',
  ])-&gt;all();
  </code></pre>