src/Cornford/Alerter/AlertDisplay.php
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.');
    }
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.');
    }
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.' ) ; }
Track down the display view file.

@return string

@throws \Cornford\Alerter\Exceptions\AlertDisplayViewException
Track down the display view file .