src/Identifier/Resolver/ResolverAwareTrait.php
public function getResolver()
    {
        if ($this->resolver === null) {
            $config = $this->getConfig('resolver');
            if ($config !== null) {
                $this->resolver = $this->buildResolver($config);
            } else {
                throw new RuntimeException('Resolver has not been set.');
            }
        }

        return $this->resolver;
    }
public function getResolver()
    {
        if ($this->resolver === null) {
            $config = $this->getConfig('resolver');
            if ($config !== null) {
                $this->resolver = $this->buildResolver($config);
            } else {
                throw new RuntimeException('Resolver has not been set.');
            }
        }

        return $this->resolver;
    }
public function getResolver ( ) { if ( $ this -> resolver === null ) { $ config = $ this -> getConfig ( 'resolver' ) ; if ( $ config !== null ) { $ this -> resolver = $ this -> buildResolver ( $ config ) ; } else { throw new RuntimeException ( 'Resolver has not been set.' ) ; } } return $ this -> resolver ; }
Returns ResolverInterface instance.

@return \Authentication\Identifier\Resolver\ResolverInterface
@throws \RuntimeException When resolver has not been set.
Returns ResolverInterface instance .