예제 #1
0
 public function __construct($message, $code = 0, \Exception $previous = null)
 {
     $data = $message;
     EasilyView::render('error/index', $data, 'errors');
     parent::__construct($message, $code, $previous);
     exit;
 }
예제 #2
0
 /**
  * Render
  */
 public function render($view, $data = [], $admin = false)
 {
     EasilyView::render($view, $data, $admin);
 }