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