title: Laravel 4.2 - ReflectionException (-1)
body: <p>I am getting following error:</p>
  
  <pre><code>ReflectionException (-1)
  
  Class PhotosController does not exist
  </code></pre>
  
  <p>This is my route:</p>
  
  <pre><code>Route::resource('photos', ' PhotosController');
  </code></pre>
  
  <p>When I change to <strong>Route::get('photos', 'PhotosController@index');</strong> it is working fine, but using <strong>resource</strong> it is falling? What is going on?
  PhotosController:</p>
  
  <pre><code>&lt;?php
  
  class PhotosController extends \BaseController {
  
      /**
       * Display a listing of the resource.
       * GET /photos
       *
       * @return Response
       */
      public function index()
      {
          return Photo::all();
      }
  
      /**
       * Show the form for creating a new resource.
       * GET /photos/create
       *
       * @return Response
       */
      public function create()
      {
          //
      }
  
      /**
       * Store a newly created resource in storage.
       * POST /photos
       *
       * @return Response
       */
      public function store()
      {
          //
      }
  
      /**
       * Display the specified resource.
       * GET /photos/{id}
       *
       * @param  int  $id
       * @return Response
       */
      public function show($id)
      {
          //
      }
  
      /**
       * Show the form for editing the specified resource.
       * GET /photos/{id}/edit
       *
       * @param  int  $id
       * @return Response
       */
      public function edit($id)
      {
          //
      }
  
      /**
       * Update the specified resource in storage.
       * PUT /photos/{id}
       *
       * @param  int  $id
       * @return Response
       */
      public function update($id)
      {
          //
      }
  
      /**
       * Remove the specified resource from storage.
       * DELETE /photos/{id}
       *
       * @param  int  $id
       * @return Response
       */
      public function destroy($id)
      {
          //
      }
  
  }
  </code></pre>