芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/vendor/openspout/openspout/src/Common/Entity/Cell.php
setStyle($style); } abstract public function getValue(): null|bool|string|int|float|DateTimeInterface|DateInterval; final public function setStyle(?Style $style): void { $this->style = $style ?? new Style(); } final public function getStyle(): Style { return $this->style; } final public static function fromValue(null|bool|string|int|float|DateTimeInterface|DateInterval $value, ?Style $style = null): self { if (\is_bool($value)) { return new BooleanCell($value, $style); } if (null === $value || '' === $value) { return new EmptyCell($value, $style); } if (\is_int($value) || \is_float($value)) { return new NumericCell($value, $style); } if ($value instanceof DateTimeInterface) { return new DateTimeCell($value, $style); } if ($value instanceof DateInterval) { return new DateIntervalCell($value, $style); } if (isset($value[0]) && '=' === $value[0]) { return new FormulaCell($value, $style); } return new StringCell($value, $style); } }