* @author Icinga-Web Team * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License */ abstract class TicketHook { /** * Constructor must live without arguments right now * * Therefore the constructor is final, we might change our opinion about * this one far day */ final public function __construct() { $this->init(); } /** * Overwrite this function if you want to do some initialization stuff * * @return void */ protected function init() { } abstract public function getPattern(); abstract public function createLink($match); }