Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| LayoutAttribute | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Pdf\Core\Document\StructAttribute; |
| 6 | |
| 7 | use Phpdftk\Pdf\Core\Document\StructAttribute; |
| 8 | |
| 9 | /** |
| 10 | * Layout attribute object (owner /Layout) — ISO 32000-2 §14.8.5.4. |
| 11 | * |
| 12 | * Typed helper that pre-sets `/O /Layout` and exposes every spec-defined |
| 13 | * layout attribute as a typed setter. Use `$attr->entries` for any |
| 14 | * remaining attribute keys. |
| 15 | */ |
| 16 | final class LayoutAttribute extends StructAttribute |
| 17 | { |
| 18 | public function __construct() |
| 19 | { |
| 20 | parent::__construct('Layout'); |
| 21 | } |
| 22 | } |