ldap = $ldap; $this->helper = $helper; $this->config = $config; $this->ncUserManager = $ncUserManager; $this->logger = $logger; } public function get(Connection $connection): Access { /* Each Access instance gets its own Manager instance, see OCA\User_LDAP\AppInfo\Application::register() */ return new Access( $this->ldap, $connection, Server::get(Manager::class), $this->helper, $this->config, $this->ncUserManager, $this->logger, $this->appConfig, ); } }