Parse FITS keywords

This commit is contained in:
2024-09-26 16:23:31 +02:00
parent a4ea061f38
commit 462d2350f0
3 changed files with 77 additions and 6 deletions

18
src/Keyword.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace Dumbastro\FitsPhp;
/**
* A FITS keyword record
* @todo Add types for max lengths?
*/
readonly class Keyword
{
public function __construct(
public string $name,
public string $value,
public ?string $comment,
) {}
}