protected function originalPath(File $file, string $thumbSize = null)
    {
        return $file->getOriginal('type')
            .DS.$file->getOriginal('category')
            .($thumbSize ? DS.$thumbSize : '')
            .DS.$file->getOriginal('name').'.'.$file->getOriginal('extension');
    }
protected function originalPath(File $file, string $thumbSize = null)
    {
        return $file->getOriginal('type')
            .DS.$file->getOriginal('category')
            .($thumbSize ? DS.$thumbSize : '')
            .DS.$file->getOriginal('name').'.'.$file->getOriginal('extension');
    }
protected function originalPath ( File $ file , string $ thumbSize = null ) { return $ file -> getOriginal ( 'type' ) . DS . $ file -> getOriginal ( 'category' ) . ( $ thumbSize ? DS . $ thumbSize : '' ) . DS . $ file -> getOriginal ( 'name' ) . '.' . $ file -> getOriginal ( 'extension' ) ; }
Get original path to file.

@param  string|null $thumbSize
@return string
Get original path to file .