nt-&gt;app-&gt;set('app.timer.start', microtime(true));
    }
&nbsp;
    public function onFinish(BaseEvent $event)
    {
        $event-&gt;app-&gt;set('app.timer.finish', microtime(true));
    }
}</pre>
</div>

<p><strong>easybook</strong> plugins must implement <code>EventSubscriberInterface</code> interface, which in turn forces to define a method called <code>getSubscribedEvents()</code>. This method simply returns an array of events that you want to subscribe to and the name of the methods that are ex