added setException method to ErrorLayout class

This commit is contained in:
Anton Grebnev
2012-06-04 16:09:45 +04:00
parent 1d999bda3f
commit e6735dc158
2 changed files with 98 additions and 1 deletions

View File

@ -11,5 +11,20 @@
class ErrorLayout extends Layout
{
protected function execute(){}
/**
* @var GeneralException
*/
protected $exception;
protected function execute()
{
}
/**
* @param GeneralException $exception
*/
public function setException(GeneralException $exception)
{
$this->exception = $exception;
}
}