public function __construct(Conf $config, Database $db, EntityTable $entities, ElggStaticVariableCache $cache, PluginHooksService $hooks, ElggSession $session, Translator $translator) { $this->config = $config; $this->db = $db; $this->entities = $entities; $this->access_cache = $cache; $this->hooks = $hooks; $this->session = $session; $this->translator = $translator; }