protected function doWeNeedToMinify(SplFileInfo $file): bool
    {
        return
        (
            !$this->debug &&
            !Str::s($file->getFilename())->contains('.min.')
        );
    }
protected function doWeNeedToMinify(SplFileInfo $file): bool
    {
        return
        (
            !$this->debug &&
            !Str::s($file->getFilename())->contains('.min.')
        );
    }
protected function doWeNeedToMinify ( SplFileInfo $ file ) : bool { return ( ! $ this -> debug && ! Str :: s ( $ file -> getFilename ( ) ) -> contains ( '.min.' ) ) ; }
Based on if we are in debug mode and if the file is already minfied or
not, this tells us if we actually need to perform any minification.

@param  SplFileInfo $file The original source file.
@return bool              If true we will run the minifier.
Based on if we are in debug mode and if the file is already minfied or not this tells us if we actually need to perform any minification .