AuditRunner
API reference › Foxy › Audit › AuditRunner
Runs and validates a package manager audit before normalizing its findings.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates an audit runner for the selected asset manager. | AuditRunner |
audit() | Runs the configured package manager audit and returns a normalized report. | AuditRunner |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(Foxy\Asset\AssetManagerInterface $manager)Creates an audit runner for the selected asset manager.
Parameters
| Parameter | Type | Description |
|---|---|---|
$manager | Foxy\ |
audit()
Section titled “audit() ”public function audit(Foxy\Audit\AuditRequest $request): Foxy\Audit\AuditReportRuns the configured package manager audit and returns a normalized report.