title: How to load a class in symfony?
body: <p>I need to load a class in Symfony 1.4 but the simple placing of the file in <em>/apps/frontend/lib</em> seems not to be enough.</p>
  
  <pre><code>class test
  { function foo ($foo) { echo $foo; }
  }
  </code></pre>
  
  <p>and I tried to use it in an action:</p>
  
  <pre><code>  public function executeTest(sfWebRequest $request)
    {
      $a = new test();
      $a-&gt;foo('aaa');
    }  
  </code></pre>
  
  <p>I have refreshed the cache and still:</p>
  
  <p><code>Fatal error: Class 'test' not found in ...</code></p>
  
  <p>Do I have to declare it somewhere?</p>