mainConfig = $mainConfig; $this->util = $util; $this->objectHandler = $objectHandler; $this->userHandler = $userHandler; $this->userGroupHandler = $userGroupHandler; $this->accessHandler = $accessHandler; } /** * @return Wordpress */ protected function getWordpress() { return $this->wordpress; } /** * @return MainConfig */ protected function getMainConfig() { return $this->mainConfig; } /** * @return Util */ protected function getUtil() { return $this->util; } /** * @return UserHandler */ protected function getUserHandler() { return $this->userHandler; } /** * @return UserGroupHandler */ protected function getUserGroupHandler() { return $this->userGroupHandler; } protected function removePostFromList($postType) { return $this->mainConfig->hidePostType($postType) === true || $this->wordpressConfig->atAdminPanel() === true; } }