added setException method to ErrorLayout class
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user