Skip to content
PHP Ecosystem
Explore

AuditRunner

API reference › Foxy › Audit › AuditRunner

final readonly classFoxy\Audit\AuditRunner
ImplementsAuditRunnerInterface
Sourcesrc/Audit/AuditRunner.php

Runs and validates a package manager audit before normalizing its findings.

MethodDescriptionDefined 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
public function __construct(Foxy\Asset\AssetManagerInterface $manager)

Creates an audit runner for the selected asset manager.

Parameters

ParameterTypeDescription
$managerFoxy\Asset\AssetManagerInterface
public function audit(Foxy\Audit\AuditRequest $request): Foxy\Audit\AuditReport

Runs the configured package manager audit and returns a normalized report.

Parameters

ParameterTypeDescription
$requestAuditRequest

Returns

AuditReport