wordpress; } protected function getMainConfig(): MainConfig { return $this->mainConfig; } protected function getUtil(): Util { return $this->util; } protected function getUserHandler(): UserHandler { return $this->userHandler; } protected function getUserGroupHandler(): UserGroupHandler { return $this->userGroupHandler; } protected function removePostFromList($postType): bool { return $this->mainConfig->hidePostType($postType) === true || $this->wordpressConfig->atAdminPanel() === true; } }