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 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Pdf\Conformance\Constraint; |
| 6 | |
| 7 | use Phpdftk\Pdf\Conformance\Inspection\DocumentInspector; |
| 8 | use Phpdftk\Pdf\Conformance\Profile\ConformanceProfile; |
| 9 | use Phpdftk\Pdf\Conformance\Result\ConformanceViolation; |
| 10 | |
| 11 | /** |
| 12 | * A single category of conformance checks (e.g. font embedding, encryption). |
| 13 | */ |
| 14 | interface 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 | } |