protected function registerUserProvider(\Silex\Application $app)
    {
        $user_provider       = 'security.user_provider.'.$this->name;
        $app[$user_provider] = $app->share(function () {
            return new ChainUserProvider($this->userProviders);
        });
        return $user_provider;
    }
protected function registerUserProvider(\Silex\Application $app)
    {
        $user_provider       = 'security.user_provider.'.$this->name;
        $app[$user_provider] = $app->share(function () {
            return new ChainUserProvider($this->userProviders);
        });
        return $user_provider;
    }
protected function registerUserProvider ( \ Silex \ Application $ app ) { $ user_provider = 'security.user_provider.' . $ this -> name ; $ app [ $ user_provider ] = $ app -> share ( function ( ) { return new ChainUserProvider ( $ this -> userProviders ) ; } ) ; return $ user_provider ; }
Register User Provider
@param \Silex\Application $app
Register User Provider