protected function reflectFinal(Reflector $ref, SimpleXMLElement $element) { if ($ref->isFinal()) { $element['final'] = '1'; } }