src/Rg/Markdown/Finder.php
public function getList()
    {
        $list = glob($this->basePath . "/*.md");
        foreach ($list as $key=>$item) {
            $item = pathinfo($item);
            $item = $item['filename'];
            $item = preg_split("/^[\d-]+/", $item, 2, PREG_SPLIT_NO_EMPTY);
            $list[$key] = ucfirst(str_replace('-',' ',$item[0]));
        }

        return $list;
    }
public function getList()
    {
        $list = glob($this->basePath . "/*.md");
        foreach ($list as $key=>$item) {
            $item = pathinfo($item);
            $item = $item['filename'];
            $item = preg_split("/^[\d-]+/", $item, 2, PREG_SPLIT_NO_EMPTY);
            $list[$key] = ucfirst(str_replace('-',' ',$item[0]));
        }

        return $list;
    }
public function getList ( ) { $ list = glob ( $ this -> basePath . "/*.md" ) ; foreach ( $ list as $ key => $ item ) { $ item = pathinfo ( $ item ) ; $ item = $ item [ 'filename' ] ; $ item = preg_split ( "/^[\d-]+/" , $ item , 2 , PREG_SPLIT_NO_EMPTY ) ; $ list [ $ key ] = ucfirst ( str_replace ( '-' , ' ' , $ item [ 0 ] ) ) ; } return $ list ; }
getList
In the file list returned, in array values, '-' become spaces.

@return array mardown file list
getList In the file list returned in array values - become spaces .