original_string: protected function buildAttributesResolver(ItemInterface $templateItem)
      {
          $resolver = new AttributesResolver();
          $resolver->setDefault('taxonomy_attribute', 'categories', 'string')
              ->setDefault('permalink', '/:name')
              ->setDefault('pagination_permalink', '/page:num', 'string');
  
          $attributes = $templateItem->getAttributes();
  
          return $resolver->resolve($attributes);
      }
code: protected function buildAttributesResolver(ItemInterface $templateItem)
      {
          $resolver = new AttributesResolver();
          $resolver->setDefault('taxonomy_attribute', 'categories', 'string')
              ->setDefault('permalink', '/:name')
              ->setDefault('pagination_permalink', '/page:num', 'string');
  
          $attributes = $templateItem->getAttributes();
  
          return $resolver->resolve($attributes);
      }
code_tokens: protected function buildAttributesResolver ( ItemInterface $ templateItem ) { $ resolver = new AttributesResolver ( ) ; $ resolver -> setDefault ( 'taxonomy_attribute' , 'categories' , 'string' ) -> setDefault ( 'permalink' , '/:name' ) -> setDefault ( 'pagination_permalink' , '/page:num' , 'string' ) ; $ attributes = $ templateItem -> getAttributes ( ) ; return $ resolver -> resolve ( $ attributes ) ; }
docstring: Build the attribute resolver.
  
  @param ItemInterface $templateItem The item used as template
  
  @return AttributesResolver
docstring_tokens: Build the attribute resolver .