mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
28 lines
448 B
PHP
28 lines
448 B
PHP
<?php
|
|
|
|
|
|
namespace Tests\Objects;
|
|
|
|
|
|
class TestMandatoryFieldSet
|
|
{
|
|
public string $title;
|
|
public ?array $mandatoryFields;
|
|
|
|
/**
|
|
* TestMandatoryFieldSet constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
$this->mandatoryFields = [];
|
|
}
|
|
|
|
/**
|
|
* @param TestMandatoryField $field
|
|
*/
|
|
public function addMandatoryField(TestMandatoryField $field)
|
|
{
|
|
$this->mandatoryFields[] = $field;
|
|
}
|
|
|
|
} |