title: Pagination giving odd error
body: <p>I'm trying to implement pagination and here is what I have so far.</p>
  <p>In my main controller:</p>
  <pre><code>public function showIndex()
  {    
      $countries = Country::paginate(5);
  
      return View::make('index')-&gt;with('countries', $countries);
  }
  </code></pre>
  <p>And in my view I'm simply doing:</p>
  <pre><code>&lt;?php print_r($countries); ?&gt;
  </code></pre>
  <p>However, that outputs an insanely long error, too long to post here in full:</p>
  <blockquote>
  <p>Illuminate\Pagination\Paginator Object ( [factory:protected] =&gt;</p>
  <p>Illuminate\Pagination\Factory Object ( [request:protected] =&gt;</p>
  <p>Illuminate\Http\Request Object ( [json:protected] =&gt; [sessionStore:protected]</p>
  <p>=&gt; [attributes] =&gt; Symfony\Component\HttpFoundation\ParameterBag Object (</p>
  <p>[parameters:protected] =&gt; Array ( ) ) [request] =&gt;</p>
  <p>Symfony\Component\HttpFoundation\ParameterBag Object ( [parameters:protected]</p>
  <p>=&gt; Array ( ) ) [query] =&gt; Symfony\Component\HttpFoundation\ParameterBag</p>
  <p>Object ( [parameters:protected] =&gt; Array ( ) ) [server] =&gt;</p>
  <p>Symfony\Component\HttpFoundation\ServerBag Object ( [parameters:protected] =&gt;</p>
  <p>Array ([HTTP_USER_AGENT] =&gt; Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0)</p>
  <p>Gecko/20100101 Firefox/36.0 [HTTP_ACCEPT] =&gt;</p>
  <p>text/html,application/xhtml+xml,application/xml;q=0.9,<em>/</em>;q=0.8</p>
  <p>[HTTP_ACCEPT_LANGUAGE] =&gt; en-US,en;q=0.5 [HTTP_ACCEPT_ENCODING] =&gt; gzip,</p>
  <p>deflate [HTTP_COOKIE] =&gt;</p>
  </blockquote>
  <p>What am I doing wrong? Am I missing something?</p>