protected function __construct($name, $description, $id) { parent::__construct($name, $description, $id); set_error_handler('Assert::DieOnError'); // So warnings etc are not lost! ob_start(); }