Skip to content
docsv0.1.1

ReportInterface

The common contract every ops report (security, backup, cron) satisfies so that a host command can render it as a table for humans OR serialize it for agents/CI with one uniform shape, and decide the process exit code from `hasFindings()`.

ReportInterface::toArray()

abstract public function toArray(): array

El reporte como dato serializable.

Returns

A JSON-serializable view of the report.

ReportInterface::hasFindings()

abstract public function hasFindings(): bool

True when the report carries something the caller must act on — a secret found, a failed backup, a task that errored. Host commands exit non-zero when true.