private function resolveFileTypes()
    {
        foreach ($this->getStagedFiles() as $file) {
            $ext                 = strtolower(pathinfo($file, PATHINFO_EXTENSION));
            $this->types[$ext][] = $file;
        }
        $this->typesResolved = true;
    }
private function resolveFileTypes()
    {
        foreach ($this->getStagedFiles() as $file) {
            $ext                 = strtolower(pathinfo($file, PATHINFO_EXTENSION));
            $this->types[$ext][] = $file;
        }
        $this->typesResolved = true;
    }
private function resolveFileTypes ( ) { foreach ( $ this -> getStagedFiles ( ) as $ file ) { $ ext = strtolower ( pathinfo ( $ file , PATHINFO_EXTENSION ) ) ; $ this -> types [ $ ext ] [ ] = $ file ; } $ this -> typesResolved = true ; }
Sort files by file suffix.
Sort files by file suffix .