Parse FITS keywords
This commit is contained in:
18
src/Keyword.php
Normal file
18
src/Keyword.php
Normal 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,
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user