. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Contracts; /** * Make a GEDCOM primitive element. */ interface ElementFactoryInterface { /** * Create a GEDCOM primitive object. * * @param string $tag * * @return ElementInterface */ public function make(string $tag): ElementInterface; /** * Register more elements. * * @param array $elements */ public function register(array $elements): void; }