protected function getProviders()
    {
        if (is_null($this->providers)) {
            $this->providers = array();
            if ($this->hasOption(self::OPTION_PROVIDERS)) {
                foreach ($this->getOption(self::OPTION_PROVIDERS) as $provider) {
                    if ($provider instanceof ServiceLocatorAwareInterface) {
                        $provider->setServiceLocator($this->getServiceLocator());
                    }
                    $this->providers[] = $provider;
                }
            }
        }
        return $this->providers;
    }
protected function getProviders()
    {
        if (is_null($this->providers)) {
            $this->providers = array();
            if ($this->hasOption(self::OPTION_PROVIDERS)) {
                foreach ($this->getOption(self::OPTION_PROVIDERS) as $provider) {
                    if ($provider instanceof ServiceLocatorAwareInterface) {
                        $provider->setServiceLocator($this->getServiceLocator());
                    }
                    $this->providers[] = $provider;
                }
            }
        }
        return $this->providers;
    }
protected function getProviders ( ) { if ( is_null ( $ this -> providers ) ) { $ this -> providers = array ( ) ; if ( $ this -> hasOption ( self :: OPTION_PROVIDERS ) ) { foreach ( $ this -> getOption ( self :: OPTION_PROVIDERS ) as $ provider ) { if ( $ provider instanceof ServiceLocatorAwareInterface ) { $ provider -> setServiceLocator ( $ this -> getServiceLocator ( ) ) ; } $ this -> providers [ ] = $ provider ; } } } return $ this -> providers ; }
Returns a list of providers that need to be verified

@return AuthorizationProvider[]
Returns a list of providers that need to be verified