title: Class 'Album\Controller\AlbumController' not found
body: <p>When i try to start album application an error message appears:</p>
  
  <blockquote>
    <p>Fatal error: Class 'Album\Controller\AlbumController' not found in
    C:\xampp\htdocs\ZendSkeletonApplication\vendor\zendframework\zendframework\library\Zend\ServiceManager\AbstractPluginManager.php
    on line 170</p>
  </blockquote>
  
  <p>This is my module.config.php file code</p>
  
  <pre><code>&lt;?php
  return array(
      'controllers' =&gt; array(
          'invokables' =&gt; array(
              'Album\Controller\Album' =&gt; 'Album\Controller\AlbumController',
          ),
      ),
  
      // Added to make router
      'router' =&gt; array(
          'routes' =&gt; array(
              'album' =&gt; array(
                  'type' =&gt; 'segment',
                  'options' =&gt; array(
                      'route' =&gt; '/album[/][:action][/:id]',
                      'constraints' =&gt; array(
                          'action' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                          'id' =&gt; '[0-9]+'
                      ),
                      'defaults' =&gt; array(
                          'controller' =&gt; 'Album\Controller\Album',
                          'action' =&gt; 'index',
                      ),
                  ),
              ),
          ),
      ),
  
      'view_manager' =&gt; array(
          'template_path_stack' =&gt; array(
              'album' =&gt; __DIR__ . '/../view',
          ),
      ),
  );
  </code></pre>
  
  <p>And this is AlbumController.php file code:</p>
  
  <pre><code>&lt;?php
  
  namespace Album\Controller;
  
  use Zend\Mvc\Controller\AbstractActionController;
  use Zend\View\Model\ViewModel;
  
  class AlbumController extends AbstractActionController {
  
      protected $albumTable;
  
      public function indexAction() {
          return new ViewModel(array(
              'album' =&gt; $this-&gt;getAlbumTable()-&gt;fetchAll(),
          ));
      }
  
      public function addAction() {
  
      }
  
      public function editAction() {
  
      }
  
      public function deleteAction() {
  
      }
  
      public function getAlbumTable () {
          if (!$this-&gt;albumTable) {
              $sm = $this-&gt;getServiceLocator();
              $this-&gt;albumTable = $sm-&gt;get('Album\Model\AlbumTable');
          }
          return $this-&gt;albumTable;
      }
  
  }
  </code></pre>