. */ declare(strict_types=1); namespace Fisharebest\Webtrees\Elements; use Fisharebest\Webtrees\Tree; /** * SOURCE_CALL_NUMBER := {Size=1:120} * An identification or reference description used to file and retrieve items from the holdings of * a repository. */ class SourceCallNumber extends AbstractElement { protected const SUBTAGS = [ 'MEDI' => '0:1', ]; protected const MAXIMUM_LENGTH = 120; /** * Display the value of this type of element. * * @param string $value * @param Tree $tree * * @return string */ public function value(string $value, Tree $tree): string { return $this->valueAutoLink($value); } }