original_string: protected function findDisplayViewFile()
      {
          foreach($this->getDirectoryIterator() as $file) {
              $name = $file->getFilename();
  
              if ($this->isDisplayViewFile($name)) {
                  return $file->getPathname();
              }
          }
  
          throw new AlertDisplayViewException('Could not locate the view file.');
      }
code: protected function findDisplayViewFile()
      {
          foreach($this->getDirectoryIterator() as $file) {
              $name = $file->getFilename();
  
              if ($this->isDisplayViewFile($name)) {
                  return $file->getPathname();
              }
          }
  
          throw new AlertDisplayViewException('Could not locate the view file.');
      }
code_tokens: protected function findDisplayViewFile ( ) { foreach ( $ this -> getDirectoryIterator ( ) as $ file ) { $ name = $ file -> getFilename ( ) ; if ( $ this -> isDisplayViewFile ( $ name ) ) { return $ file -> getPathname ( ) ; } } throw new AlertDisplayViewException ( 'Could not locate the view file.' ) ; }
docstring: Track down the display view file.
  
  @return string
  
  @throws \Cornford\Alerter\Exceptions\AlertDisplayViewException
docstring_tokens: Track down the display view file .