code: public function getLabel($role)
      {
          $role = $this->companionRole($role);
          if ($role === 'child') {
              return 'Child ' . $this->child->title->upperSingular;
          } else {
              return 'Parent ' . $this->parent->title->upperSingular;
          }
      }
docs: Get label.
  
  @param [[@doctodo param_type:role]] $role [[@doctodo param_description:role]]
  
  @return [[@doctodo return_type:getLabel]] [[@doctodo return_description:getLabel]]