src/Config/Loader/ClassLoader/Resolver/ExtraOptionsResolver.php
public function resolve($options, ClassLoader $classLoader = null)
    {
        $hashKey = self::generateParamsHashKey($this->params);

        // Was configureOptions() executed before for this class?
        if (!isset(self::$resolvers[$hashKey])) {
            self::$resolvers[$hashKey] = new OptionsResolver();
            $this->configureOptions(self::$resolvers[$hashKey], $classLoader);
        }

        return self::$resolvers[$hashKey]->resolve($options);
    }
public function resolve($options, ClassLoader $classLoader = null)
    {
        $hashKey = self::generateParamsHashKey($this->params);

        // Was configureOptions() executed before for this class?
        if (!isset(self::$resolvers[$hashKey])) {
            self::$resolvers[$hashKey] = new OptionsResolver();
            $this->configureOptions(self::$resolvers[$hashKey], $classLoader);
        }

        return self::$resolvers[$hashKey]->resolve($options);
    }
public function resolve ( $ options , ClassLoader $ classLoader = null ) { $ hashKey = self :: generateParamsHashKey ( $ this -> params ) ; // Was configureOptions() executed before for this class? if ( ! isset ( self :: $ resolvers [ $ hashKey ] ) ) { self :: $ resolvers [ $ hashKey ] = new OptionsResolver ( ) ; $ this -> configureOptions ( self :: $ resolvers [ $ hashKey ] , $ classLoader ) ; } return self :: $ resolvers [ $ hashKey ] -> resolve ( $ options ) ; }
Resolve options against extra params requirements

@param  array $options Array of option values
@param  ClassLoader|null $classLoader Optional class loader if you want to use custom
handlers to resolve the extra options

@return array Array of resolved options
Resolve options against extra params requirements