Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Pdf\Conformance\Constraint;
6
7use Phpdftk\Pdf\Conformance\Inspection\DocumentInspector;
8use Phpdftk\Pdf\Conformance\Profile\ConformanceProfile;
9use Phpdftk\Pdf\Conformance\Result\ConformanceViolation;
10
11/**
12 * A single category of conformance checks (e.g. font embedding, encryption).
13 */
14interface ConformanceConstraint
15{
16    /**
17     * Check the document against this constraint for the given profile.
18     *
19     * @return list<ConformanceViolation>
20     */
21    public function check(DocumentInspector $inspector, ConformanceProfile $profile): array;
22}