title: LinkPager not showing anything
body: <p>I've been stuck for hours trying to see where I went wrong. Just started yii2 a few days ago, so I'm thinking maybe I'm missing something really simple, please help.<br>
  I'm trying to implement a <code>LinkPager</code> widget.<br>
  Steps on how i did it:</p>
  
  <ol>
  <li><p>Created a pagination object ($pagination) in controller (yii\data\Pagination). It has a totalCount from my Query statement and pageSize.</p>
  
  <pre><code>    $query = myModel::aFunctionThatReturnsaQueryType();
      $countQuery = clone $query;
      $pagination = new Pagination([
      'totalCount' =&gt; $countQuery-&gt;count(),
      'pageSize' =&gt; '9',
  ]);
  </code></pre></li>
  <li><p>This is in my view   </p>
  
  <pre><code>echo LinkPager::widget([
      'pagination' =&gt; $pagination,
  ]);
  </code></pre></li>
  </ol>
  
  <p>But my problem is that nothing is showing up after the echo. What did I miss?</p>