protected function isExcludedFromDb($basename)
    {
        if (in_array(mb_strtolower($basename), $this->excludeFromDb)) {
            return true;
        }

        return Helper::startsWith($basename, '.') || Helper::startsWith($basename, '_');

    }
protected function isExcludedFromDb($basename)
    {
        if (in_array(mb_strtolower($basename), $this->excludeFromDb)) {
            return true;
        }

        return Helper::startsWith($basename, '.') || Helper::startsWith($basename, '_');

    }
protected function isExcludedFromDb ( $ basename ) { if ( in_array ( mb_strtolower ( $ basename ) , $ this -> excludeFromDb ) ) { return true ; } return Helper :: startsWith ( $ basename , '.' ) || Helper :: startsWith ( $ basename , '_' ) ; }
Return true if the passed file should not be mirrored in the db.

@param string $basename

@return bool
Return true if the passed file should not be mirrored in the db .