Ejemplo n.º 1
0
 public function __construct(\PHPPHP\Engine\Executor $executor, $callback = null)
 {
     parent::__construct($executor);
     if ($callback && !is_callable($callback)) {
         throw new \LogicException('Non-callable callback provided');
     }
     $this->callback = $callback;
 }
Ejemplo n.º 2
0
 public function __construct(\PHPPHP\Engine\Executor $executor)
 {
     \PHPPHP\Engine\Output::__construct($executor);
 }