src/Kharanenka/Helper/DataFileModel.php
protected function getFileDataValue($obFile) {

        if(empty($obFile) || !$obFile instanceof File) {
            return null;
        }

        $sUploadFolder = Config::get('cms.storage.uploads.path', '/storage/app/uploads');

        return [
            'full_path' => $obFile->getPath(),
            'path'      => $sUploadFolder . str_replace('uploads', '', $obFile->getDiskPath()),
            'title'     => $obFile->getAttribute('title'),
            'alt'       => $obFile->getAttribute('description'),
        ];
    }
protected function getFileDataValue($obFile) {

        if(empty($obFile) || !$obFile instanceof File) {
            return null;
        }

        $sUploadFolder = Config::get('cms.storage.uploads.path', '/storage/app/uploads');

        return [
            'full_path' => $obFile->getPath(),
            'path'      => $sUploadFolder . str_replace('uploads', '', $obFile->getDiskPath()),
            'title'     => $obFile->getAttribute('title'),
            'alt'       => $obFile->getAttribute('description'),
        ];
    }
Get file data value
@param File $obFile
@return array|null