public function emit($event)
    {
        if (!empty($this->subjects[$event])) {

            /** @var \SplSubject $subject */
            foreach($this->subjects[$event] as $subject) {
                $subject->notify();
            }
        }
    }