original_string: public function setRelations($relations)
      {
          $this->setAvailableIncludes(array_unique(array_merge($this->availableIncludes, (array) $relations)));
  
          return $this;
      }
code: public function setRelations($relations)
      {
          $this->setAvailableIncludes(array_unique(array_merge($this->availableIncludes, (array) $relations)));
  
          return $this;
      }
code_tokens: public function setRelations ( $ relations ) { $ this -> setAvailableIncludes ( array_unique ( array_merge ( $ this -> availableIncludes , ( array ) $ relations ) ) ) ; return $ this ; }
docstring: Set relations on the transformer.
  
  @param  array|string $relations
  @return self
docstring_tokens: Set relations on the transformer .