title: ReflectionException in CommanderTrait.php line 59: Class App\FollowUserCommand does not exist
body: <p>I Was following Laracasts video for creating follow option but when I'm clicking on Follow button on members page it is showing the above error. This is my <strong>followcontroller</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use App\User;
  use Laracasts\Commander\CommanderTrait;
  use App\FollowUserCommand; 
  use Sentinel;
  use Illuminate\Support\Facades\Input;
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  
  class FollowsController extends Controller
  {
  use CommanderTrait;
  /**
   * Follow a User
   *
   * @param  \Illuminate\Http\Request  $request
   * @return \Illuminate\Http\Response
   */
  public function store()
  {
      $input = array_add(Input::all(), 'user_id', Sentinel::getuser()-&gt;id);
      $this-&gt;execute(FollowUserCommand::class, $input);
      return Redirect::back();
  }
  
  
  /**
   * Unfollow a User
   *
   * @param  int  $id
   * @return \Illuminate\Http\Response
   */
  public function destroy($id)
  {
      //
  }
  }
  </code></pre>
  
  <p>This is my <strong>FollowUserCommand</strong></p>
  
  <pre><code>&lt;?php namespace App\User;
  
  class FollowUserCommand {
  
  public $user_id;
  public $userIdToFollow;
  
  function __construct($user_id, $userIdToFollow)
  {
      $this-&gt;user_id = $user_id;
      $this-&gt;userIdToFollow = $userIdToFollow;
  }
  }
  </code></pre>
  
  <p><strong>FollowUserCommandHandler</strong></p>
  
  <pre><code>&lt;?php namespace App;
  
  use Laracasts\Commander\CommandHandler;
  
  class FollowUserCommandHandler implements CommandHandler {
  
  protected $userRepo;
  
  function __construct(UserRepository $userRepo)
  {
      $this-&gt;userRepo = $userRepo;
  }
  
  
  
  
  public function handle($command)
  {
      $user = $this-&gt;userRepo-&gt;findById($command-&gt;user_id);
  
      $this-&gt;userRepo-&gt;follow($command-&gt;userIdToFollow, $user);
  
      return $user;
  }
  
  }
  </code></pre>
  
  <p><strong>UserRepository</strong>
      
  
  <pre><code>class UserRepository {
  
  public function save(User $user) 
  {
      return $user-&gt;save();
  }
  
  public function getPaginated($howMany = 4)
  {
      return User::orderBy('first_name', 'asc')-&gt;paginate($howMany);
  }
  
  public function findByUsername($username)
  {
      return User::with(['feeds' =&gt; function($query)
      {
          $query-&gt;latest();
      }
  
      ])-&gt;whereUsername($username)-&gt;first();
  }
  
  public function findById($id) 
  {
      return User::findOrFail($id);
  }
  
  public function follow($userIdToFollow, User $user)
  {
      return $user-&gt;follows()-&gt;attach($userIdToFollow);
  }
  }
  </code></pre>
  
  <p><strong>User.php</strong></p>
  
  <pre><code>&lt;?php namespace App;
  use Cartalyst\Sentinel\Users\EloquentUser;
  use Illuminate\Database\Eloquent\SoftDeletes;
  
  
  class User extends EloquentUser {
  
  
  /**
   * The database table used by the model.
   *
   * @var string
   */
  protected $table = 'users';
  
  /**
   * The attributes to be fillable from the model.
   *
   * A dirty hack to allow fields to be fillable by calling empty fillable array
   *
   * @var array
   */
  protected $fillable = [];
  protected $guarded = ['id'];
  
  /**
   * The attributes excluded from the model's JSON form.
   *
   * @var array
   */
  protected $hidden = ['password', 'remember_token'];
  
  /**
  * To allow soft deletes
  */
  use SoftDeletes;
  
  protected $dates = ['deleted_at'];   
  
      // This function allows us to get a list of users following us
  public function follows()
  {
      return $this-&gt;belongsToMany(self::class, 'follows', 'follower_id', 'followed_id')-&gt;withTimestamps();
  }
  
  // Get all users we are following
  public function following()
  {
      return $this-&gt;belongsToMany('User', 'followers', 'user_id', 'follow_id')-&gt;withTimestamps();
  }
  }
  </code></pre>
  
  <p>Can anyone tell me why it is showing error even after "use App\FollowUserCommand;" has been declared in namespace.</p>