<?php namespace Grav\Theme; use Grav\Common\Theme; class Mytheme extends KnowledgeBase { // Access plugin events in this class }