protected function createOptionsResolver()
    {
        $resolver = new AttributesResolver();
        $resolver->setDefault('prefer-lock', false, 'bool')
            ->setDefault('prefer-source', false, 'bool')
            ->setDefault('no-scripts', false, 'bool');

        return $resolver;
    }
protected function createOptionsResolver()
    {
        $resolver = new AttributesResolver();
        $resolver->setDefault('prefer-lock', false, 'bool')
            ->setDefault('prefer-source', false, 'bool')
            ->setDefault('no-scripts', false, 'bool');

        return $resolver;
    }
protected function createOptionsResolver ( ) { $ resolver = new AttributesResolver ( ) ; $ resolver -> setDefault ( 'prefer-lock' , false , 'bool' ) -> setDefault ( 'prefer-source' , false , 'bool' ) -> setDefault ( 'no-scripts' , false , 'bool' ) ; return $ resolver ; }
Returns the resolver for generating options.

@return AttributesResolver
Returns the resolver for generating options .