Rename ManagedStyle to PossiblyUpdatedStyle and add documentation
This commit is contained in:
1 parent
8a17d6c71f
commit
eb84ec9364
7 files changed
+52
-43
No files matched your search
@@ -4,6 +4,10 @@ namespace Box\Spout\Writer\Common\Manager;
|
||||
|
||||
use Box\Spout\Common\Entity\Style\Style;
|
||||
|
||||
/**
|
||||
* Class RegisteredStyle
|
||||
* Allow to know if this style must replace actual row style.
|
||||
*/
|
||||
class RegisteredStyle
|
||||
{
|
||||
/**
|
||||
@@ -14,12 +18,12 @@ class RegisteredStyle
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private $isRowStyle;
|
||||
private $isMatchingRowStyle;
|
||||
|
||||
public function __construct(Style $style, bool $isRowStyle)
|
||||
public function __construct(Style $style, bool $isMatchingRowStyle)
|
||||
{
|
||||
$this->style = $style;
|
||||
$this->isRowStyle = $isRowStyle;
|
||||
$this->isMatchingRowStyle = $isMatchingRowStyle;
|
||||
}
|
||||
|
||||
public function getStyle() : Style
|
||||
@@ -27,8 +31,8 @@ class RegisteredStyle
|
||||
return $this->style;
|
||||
}
|
||||
|
||||
public function isRowStyle() : bool
|
||||
public function isMatchingRowStyle() : bool
|
||||
{
|
||||
return $this->isRowStyle;
|
||||
return $this->isMatchingRowStyle;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user