original_string: public function compileMap(ResolverInterface $resolver) : array
      {
          if ($resolver instanceof AggregateResolver) {
              return $this->compileFromAggregateResolver($resolver);
          }
  
          if ($resolver instanceof TemplatePathStack) {
              return $this->compileFromTemplatePathStack($resolver);
          }
  
          if ($resolver instanceof TemplateMapResolver) {
              return $this->compileFromTemplateMapResolver($resolver);
          }
  
          return [];
      }
code: public function compileMap(ResolverInterface $resolver) : array
      {
          if ($resolver instanceof AggregateResolver) {
              return $this->compileFromAggregateResolver($resolver);
          }
  
          if ($resolver instanceof TemplatePathStack) {
              return $this->compileFromTemplatePathStack($resolver);
          }
  
          if ($resolver instanceof TemplateMapResolver) {
              return $this->compileFromTemplateMapResolver($resolver);
          }
  
          return [];
      }
code_tokens: public function compileMap ( ResolverInterface $ resolver ) : array { if ( $ resolver instanceof AggregateResolver ) { return $ this -> compileFromAggregateResolver ( $ resolver ) ; } if ( $ resolver instanceof TemplatePathStack ) { return $ this -> compileFromTemplatePathStack ( $ resolver ) ; } if ( $ resolver instanceof TemplateMapResolver ) { return $ this -> compileFromTemplateMapResolver ( $ resolver ) ; } return [ ] ; }
docstring: Generates a list of all existing templates in the given resolver,
  with their names being keys, and absolute paths being values
  
  @param ResolverInterface $resolver
  
  @return array
  
  @throws \Zend\View\Exception\DomainException
docstring_tokens: Generates a list of all existing templates in the given resolver with their names being keys and absolute paths being values