public function findFile($filename)
    {
        $filename = basename(str_replace('\\', '/', $filename));

        foreach ($this->strategies as $strategy) {
            $path = $strategy->locate($filename);

            if (!is_null($path)) {
                return $path;
            }
        }

        return null;
    }
public function findFile($filename)
    {
        $filename = basename(str_replace('\\', '/', $filename));

        foreach ($this->strategies as $strategy) {
            $path = $strategy->locate($filename);

            if (!is_null($path)) {
                return $path;
            }
        }

        return null;
    }
public function findFile ( $ filename ) { $ filename = basename ( str_replace ( '\\' , '/' , $ filename ) ) ; foreach ( $ this -> strategies as $ strategy ) { $ path = $ strategy -> locate ( $ filename ) ; if ( ! is_null ( $ path ) ) { return $ path ; } } return null ; }
Find the description file for an entity

@param   string $filename The name of the file

@return  string  Path to the XML file
Find the description file for an entity