start creating new Parser

create new listener for checking view parameter
throw 404 status page if resource not found
This commit is contained in:
Manuel Raynaud
2013-02-13 19:01:51 +01:00
parent f8273b0e53
commit 106818510f
11 changed files with 153 additions and 54 deletions

View File

@@ -26,34 +26,34 @@ namespace Thelia\Action;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
/**
*
*
*
*
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
abstract class BaseAction
abstract class BaseAction
{
/**
*
* @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
*/
protected $dispatcher;
/**
*
*
* @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher
*/
public function __construct(EventDispatcherInterface $dispatcher)
public function __construct(EventDispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
/**
*
*
* @return \Symfony\Component\EventDispatcher\EventDispatcherInterface
*/
public function getDispatcher()
{
return $this->dispatcher;
}
}
}