class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Layout\MarginCollapserPositive CSS adjoining margins form one maximum, including through empty blocks.Inheritance and contracts
This type declares no parent, interface or trait.
Declared methods
collapse()
public function collapse(array $items): array@param list<FlowItem> $items
@return list<FlowItem>firstInFlow()
public function firstInFlow(array $items): ?PDF\HtmlToPdf\Layout\FlowItem@param list<FlowItem> $items