| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Utility\Support; |
| 4: | |
| 5: | /** |
| 6: | * @api |
| 7: | */ |
| 8: | final class Indentation |
| 9: | { |
| 10: | /** @readonly */ |
| 11: | public bool $InsertSpaces; |
| 12: | |
| 13: | /** |
| 14: | * @readonly |
| 15: | * @var int<1,max> |
| 16: | */ |
| 17: | public int $TabSize; |
| 18: | |
| 19: | /** |
| 20: | * @api |
| 21: | * |
| 22: | * @param int<1,max> $tabSize |
| 23: | */ |
| 24: | public function __construct(bool $insertSpaces, int $tabSize) |
| 25: | { |
| 26: | $this->InsertSpaces = $insertSpaces; |
| 27: | $this->TabSize = $tabSize; |
| 28: | } |
| 29: | } |
| 30: |