你好我不知道如何修复这个错误,我在谷歌搜索但我没有解决这个错误
FatalErrorException:错误:在 /home/ahmed/www/Symfony/src/Blogger/BlogBundle/Controller/PageController.php 第 20 行中找不到类“Blogger\BlogBundle\Controller\Entity\Enquiry”
in /home/ahmed/www/Symfony/src/Blogger/BlogBundle/Controller/PageController.php line 20
namespace Blogger\BlogBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Blogger\BlogBundle\Controller\Entity\Enquiry ;
use Blogger\BlogBundle\Controller\Form\EnquiryType;
class PageController extends Controller {
public function indexAction() {
return $this->render('BloggerBlogBundle:Page:index.html.twig');
}
public function aboutAction() {
return $this->render('BloggerBlogBundle:Page:about.html.twig');
}
public function contactAction() {
$enquiry = new Enquiry();
$form = $this->createForm(new EnquiryType(), $enquiry);
$request = $this->getRequest();
if ($request->getMethod() == 'POST') {
$form->bind($request);
if ($form->isValid()) {
return $this->redirect($this->generateUrl('BloggerBlogBundle_contact'));
}
}
return $this->render('BloggerBlogBundle:contact.html.twig', array('form' => $form->createView()));
}
}