public final function protect($child, $contentType) { if ($child === '') { return ''; } $key = $contentType . strtr(base_convert(count($this->marks), 10, 8), '01234567', "") . $contentType; $this->marks[$key] = $child; return $key; }