mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 11:18:10 +00: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;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|