Report
class Report extends Model
Traits
Properties
| protected ReportGenerator | $reportGenerator | The report generator for this report. |
Methods
Get the attributes that should be cast.
The user that requested the report.
Type of the report.
Source of the report.
Get the source name dynamically if the source still exists.
Get the report generator for this report;.
Generate the report file for this report.
Get the subject for this report.
Get the name for this report.
Get the filename for this report.
Get the URL to download the report.
Delete the file that belongs to this report.
Get the filename of the report in storage (not the filename for download).
Details
at line 34
protected array
casts()
Get the attributes that should be cast.
at line 50
BelongsTo
user()
The user that requested the report.
at line 60
BelongsTo
type()
Type of the report.
at line 70
Project|Volume, $this>
source()
Source of the report.
at line 83
string
getSourceNameAttribute()
Get the source name dynamically if the source still exists.
at line 97
setReportGenerator(ReportGenerator $generator)
Set the report generator for this model.
at line 107
ReportGenerator
getReportGenerator()
Get the report generator for this report;.
at line 119
generate()
Generate the report file for this report.
at line 135
string
getSubjectAttribute()
Get the subject for this report.
at line 147
string
getNameAttribute()
Get the name for this report.
at line 157
string
getFilenameAttribute()
Get the filename for this report.
at line 167
string
getUrl()
Get the URL to download the report.
at line 175
deleteFile()
Delete the file that belongs to this report.
at line 185
string
getStorageFilename()
Get the filename of the report in storage (not the filename for download).