public function __construct() { $this->cpu = new EventDispatcher(); $this->cpu->addSubscriber(new Plugin\EncoderPlugin()); }