/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/auth/src/Social
NameSizeModeActions
Mapper/-0755rm
Service/-0755rm
MapUser.php13450644editdlrm
ProviderConfig.php40200644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/auth/src/Social/MapUser.php (1345B)
getConfig('mapper'); if (is_string($mapper)) { $mapper = $this->buildMapper($mapper); } $user = $mapper($data); $user['provider'] = $service->getProviderName(); return $user; } /** * Build the mapper object * * @param string $className of mapper * @return \Closure */ protected function buildMapper(string $className) { if (!class_exists($className)) { throw new \InvalidArgumentException(__('Provider mapper class {0} does not exist', $className)); } return new $className(); } }