src/Utility/Import.php
public static function getProcessedFile(ImportEntity $import, bool $fullBase = true) : string
    {
        $pathInfo = pathinfo($import->get('filename'));
        $extension = $pathInfo['extension'] ?? '';
        if (!empty($extension)) {
            $extension = '.' . $extension;
        }

        $result = $pathInfo['filename'] . static::PROCESSED_FILE_SUFFIX . $extension;
        if (!$fullBase) {
            return $result;
        }

        $result = $pathInfo['dirname'] . DS . $result;

        return $result;
    }
public static function getProcessedFile(ImportEntity $import, bool $fullBase = true) : string
    {
        $pathInfo = pathinfo($import->get('filename'));
        $extension = $pathInfo['extension'] ?? '';
        if (!empty($extension)) {
            $extension = '.' . $extension;
        }

        $result = $pathInfo['filename'] . static::PROCESSED_FILE_SUFFIX . $extension;
        if (!$fullBase) {
            return $result;
        }

        $result = $pathInfo['dirname'] . DS . $result;

        return $result;
    }
public static function getProcessedFile ( ImportEntity $ import , bool $ fullBase = true ) : string { $ pathInfo = pathinfo ( $ import -> get ( 'filename' ) ) ; $ extension = $ pathInfo [ 'extension' ] ?? '' ; if ( ! empty ( $ extension ) ) { $ extension = '.' . $ extension ; } $ result = $ pathInfo [ 'filename' ] . static :: PROCESSED_FILE_SUFFIX . $ extension ; if ( ! $ fullBase ) { return $ result ; } $ result = $ pathInfo [ 'dirname' ] . DS . $ result ; return $ result ; }
Processed filename getter.

@param \CsvMigrations\Model\Entity\Import $import Import entity
@param bool $fullBase Full base flag
@return string
Processed filename getter .