ReportTrait
Table of Contents
Properties
Methods
- handleReport() : void
- Writes to the DB: only from the page AJAX; a bare GET (robot, link prefetch) ends with 403.
Properties
$advertReportManager
public
AdvertReportManager
$advertReportManager
Attributes
- #[Inject]
Methods
handleReport()
Writes to the DB: only from the page AJAX; a bare GET (robot, link prefetch) ends with 403.
public
handleReport(int $advertId) : void
Parameters
- $advertId : int
Attributes
- #[Requires]
- $ajax: true