Fix factory
This commit is contained in:
parent
a4c72c0d61
commit
4b601a7ffa
1 changed files with 6 additions and 2 deletions
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
namespace Runtime\Http\View;
|
namespace Runtime\Http\View;
|
||||||
|
|
||||||
|
use Runtime\Contracts\View\Factory as FactoryContract;
|
||||||
use Runtime\Exceptions\ExceptionHandler;
|
use Runtime\Exceptions\ExceptionHandler;
|
||||||
use Runtime\Factory\AppFactory;
|
use Runtime\Factory\AppFactory;
|
||||||
use Twig\Error\LoaderError;
|
use Twig\Error\LoaderError;
|
||||||
use Twig\Error\RuntimeError;
|
use Twig\Error\RuntimeError;
|
||||||
use Twig\Error\SyntaxError;
|
use Twig\Error\SyntaxError;
|
||||||
|
|
||||||
class Factory extends AppFactory implements \Runtime\Contracts\View\Factory {
|
class Factory extends AppFactory implements FactoryContract
|
||||||
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -36,6 +38,8 @@ class Factory extends AppFactory implements \Runtime\Contracts\View\Factory {
|
||||||
catch (\Exception $e) {
|
catch (\Exception $e) {
|
||||||
ExceptionHandler::make($e);
|
ExceptionHandler::make($e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue