1 <?php 2 3 declare(strict_types=1); 4 5 namespace OpenSpout\Writer\Common\Manager; 6 7 use OpenSpout\Common\Entity\Style\Style; 8 9 /** 10 * Allow to know if this style must replace actual row style. 11 * 12 * @internal 13 */ 14 final class RegisteredStyle 15 { 16 private Style $style; 17 18 private bool $isMatchingRowStyle; 19 20 public function __construct(Style $style, bool $isMatchingRowStyle) 21 { 22 $this->style = $style; 23 $this->isMatchingRowStyle = $isMatchingRowStyle; 24 } 25 26 public function getStyle(): Style 27 { 28 return $this->style; 29 } 30 31 public function isMatchingRowStyle(): bool 32 { 33 return $this->isMatchingRowStyle; 34 } 35 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body