original_string: protected function addRelation($name, $builder, $label = '')
      {
          $relation = new Relation($name, $builder, $label);
  
          $relation->setParent($this);
  
          $this->overwriteExistingRelation($name);
  
          return tap($relation, function ($relation) {
              $this->relations->push($relation);
          });
      }
code: protected function addRelation($name, $builder, $label = '')
      {
          $relation = new Relation($name, $builder, $label);
  
          $relation->setParent($this);
  
          $this->overwriteExistingRelation($name);
  
          return tap($relation, function ($relation) {
              $this->relations->push($relation);
          });
      }
code_tokens: protected function addRelation ( $ name , $ builder , $ label = '' ) { $ relation = new Relation ( $ name , $ builder , $ label ) ; $ relation -> setParent ( $ this ) ; $ this -> overwriteExistingRelation ( $ name ) ; return tap ( $ relation , function ( $ relation ) { $ this -> relations -> push ( $ relation ) ; } ) ; }
docstring: Add a relation panel to show.
  
  @param string   $name
  @param \Closure $builder
  @param string   $label
  
  @return Relation
docstring_tokens: Add a relation panel to show .