main/core/Manager/AuthenticationManager.php
public function getService($driver)
    {
        $parts = $driver = explode(':', $driver);
        $driver = explode('.', $parts[0]);

        if (isset($driver[1])) {
            $serviceName = $driver[0].'.'.$driver[1].'_bundle.manager.'.$driver[1].'_manager';
            if ($this->container->has($serviceName)) {
                return $this->container->get($serviceName);
            }
        }
    }
public function getService($driver)
    {
        $parts = $driver = explode(':', $driver);
        $driver = explode('.', $parts[0]);

        if (isset($driver[1])) {
            $serviceName = $driver[0].'.'.$driver[1].'_bundle.manager.'.$driver[1].'_manager';
            if ($this->container->has($serviceName)) {
                return $this->container->get($serviceName);
            }
        }
    }
public function getService ( $ driver ) { $ parts = $ driver = explode ( ':' , $ driver ) ; $ driver = explode ( '.' , $ parts [ 0 ] ) ; if ( isset ( $ driver [ 1 ] ) ) { $ serviceName = $ driver [ 0 ] . '.' . $ driver [ 1 ] . '_bundle.manager.' . $ driver [ 1 ] . '_manager' ; if ( $ this -> container -> has ( $ serviceName ) ) { return $ this -> container -> get ( $ serviceName ) ; } } }
Return authentication driver manager.

@param $driver The name of the driver including the server, example: claroline.ldap:server1
Return authentication driver manager .