for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpOffice\PhpSpreadsheet\Style\ConditionalFormatting;
class ConditionalFormatValueObject
{
private string $type;
private null|float|int|string $value;
private ?string $cellFormula;
public function __construct(string $type, null|float|int|string $value = null, ?string $cellFormula = null)
$this->type = $type;
$this->value = $value;
$this->cellFormula = $cellFormula;
}
public function getType(): string
return $this->type;
public function setType(string $type): self
return $this;
public function getValue(): null|float|int|string
return $this->value;
public function setValue(null|float|int|string $value): self
public function getCellFormula(): ?string
return $this->cellFormula;
public function setCellFormula(?string $cellFormula): self