src/Filter/CssDependencyTrait.php
protected function _findFile($file)
    {
        foreach ($this->_settings['paths'] as $path) {
            $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
            if (file_exists($path . $file)) {
                return $path . $file;
            }
        }
        return $file;
    }
protected function _findFile($file)
    {
        foreach ($this->_settings['paths'] as $path) {
            $path = rtrim($path, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
            if (file_exists($path . $file)) {
                return $path . $file;
            }
        }
        return $file;
    }
protected function _findFile ( $ file ) { foreach ( $ this -> _settings [ 'paths' ] as $ path ) { $ path = rtrim ( $ path , DIRECTORY_SEPARATOR ) . DIRECTORY_SEPARATOR ; if ( file_exists ( $ path . $ file ) ) { return $ path . $ file ; } } return $ file ; }
Attempt to locate a file in the configured paths.

@param string $file The file to find.
@return string The resolved file.
Attempt to locate a file in the configured paths .