src/Extensions/Markdown.php
public function getNLastFiles($n)
    {
        $finder = new Finder();
        $finder->files()->name(
            $this->filter
        )->in(
            $this->mdPath
        )->sortByModifiedTimeDesc();
        return $finder->getNFirst($n);
    }
public function getNLastFiles($n)
    {
        $finder = new Finder();
        $finder->files()->name(
            $this->filter
        )->in(
            $this->mdPath
        )->sortByModifiedTimeDesc();
        return $finder->getNFirst($n);
    }
public function getNLastFiles ( $ n ) { $ finder = new Finder ( ) ; $ finder -> files ( ) -> name ( $ this -> filter ) -> in ( $ this -> mdPath ) -> sortByModifiedTimeDesc ( ) ; return $ finder -> getNFirst ( $ n ) ; }
Give N Last Files in directory given using filer given

@param integer $n Umpteenth Number

@return Symfony\Component\Finder\Finder
Give N Last Files in directory given using filer given