public function add($class) { $this->models[] = $class; }
/** * @param ConfigurePostTypes $event */ public function addPostType(ConfigurePostTypes $event) { $event->add(DiscussionTaggedPost::class); }