public function __construct($kernel = null)
{
$this->errorManager = new ErrorManager();
if ($kernel) {
$this->kernel = $kernel;
} else {
$this->kernel = new HTML\Kernel();
}
$this->kernel->initBuilder($this);
}
/** * Create a Slidey instance, using the slidey kernel */ public function __construct() { parent::__construct(new Kernel()); $this->copy(__DIR__ . '/static/slidey', 'slidey'); }