Exemplo n.º 1
0
 /**
  * Create a new messenger instance.
  *
  * @param  string  $view
  * @param  string  $path
  * @return void
  */
 public function __construct($view, $path)
 {
     parent::__construct($view, $path);
     $view = static::$namespace . ':' . $view;
     if (self::$contents[$view]) {
         $this->content = self::$contents[$view];
     }
 }
Exemplo n.º 2
0
 public function __construct($view, $path)
 {
     parent::__construct($view, $path);
     $this->files = kernel::single('base_filesystem');
 }