. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\Tree; use Fisharebest\Webtrees\Webtrees; /** * ANCESTRAL_FILE_NUMBER := {Size=1:20} * A system identification name which was obtained through the GEDCOM * registration process. This name must be unique from any other product. * Spaces within the name must be substituted with a 0x5F (underscore _) * so as to create one word. */ class ApprovedSystemId extends AbstractElement { protected const MAXIMUM_LENGTH = 20; /** * Create a default value for this element. * * @param Tree $tree * * @return string */ public function default(Tree $tree): string { return Webtrees::NAME; } }