private function supports(SplFileInfo $file): bool
    {
        return '.js' === substr($file->getRealPath(), -3) && '.min.js' !== substr($file->getRealPath(), -7);
    }
private function supports(SplFileInfo $file): bool
    {
        return '.js' === substr($file->getRealPath(), -3) && '.min.js' !== substr($file->getRealPath(), -7);
    }
private function supports ( SplFileInfo $ file ) : bool { return '.js' === substr ( $ file -> getRealPath ( ) , - 3 ) && '.min.js' !== substr ( $ file -> getRealPath ( ) , - 7 ) ; }
Returns true if file is supported by extractor.

@param \SplFileInfo $file

@return bool
Returns true if file is supported by extractor .