title: Use of undefined constant App - assumed 'App' in Laravel
body: <p>I am trying to create application with laravel 4. I created Answer Model with the following code. </p>
  
  <pre><code>&lt;?php namespace App\Models;
  
  class Answer extends Eloquent {
      protected $guarded = array();
  
      public static $rules = array();
  }
  </code></pre>
  
  <p>and I already seeded with sample data. But while I tried with command line in the following; </p>
  
  <pre><code>php artisan tink
  echo App\Models\Answer::all();
  </code></pre>
  
  <p>It showed </p>
  
  <pre><code>Use of undefined constant App - assumed 'App'
  </code></pre>
  
  <p>Instead of sample data with JSON format. Please find me a solution for this.</p>