original_string: protected function addIncludesDefault($relation, $value = null)
      {
          $includes = array_get($this->info->includes, 'default', []);
  
          if (null !== $value) {
              $includes[ $relation ] = $value;
          } elseif ( ! array_key_exists($relation, $includes) && ! in_array($relation, $includes)) {
              $includes[] = $relation;
          }
  
          $this->info->includes['default'] = $includes;
  
          return $this;
      }
code: protected function addIncludesDefault($relation, $value = null)
      {
          $includes = array_get($this->info->includes, 'default', []);
  
          if (null !== $value) {
              $includes[ $relation ] = $value;
          } elseif ( ! array_key_exists($relation, $includes) && ! in_array($relation, $includes)) {
              $includes[] = $relation;
          }
  
          $this->info->includes['default'] = $includes;
  
          return $this;
      }
code_tokens: protected function addIncludesDefault ( $ relation , $ value = null ) { $ includes = array_get ( $ this -> info -> includes , 'default' , [ ] ) ; if ( null !== $ value ) { $ includes [ $ relation ] = $ value ; } elseif ( ! array_key_exists ( $ relation , $ includes ) && ! in_array ( $ relation , $ includes ) ) { $ includes [ ] = $ relation ; } $ this -> info -> includes [ 'default' ] = $ includes ; return $ this ; }
docstring: Adds an entry to the default includes.
  
  @param string     $relation
  @param null|mixed $value
  @return $this
docstring_tokens: Adds an entry to the default includes .