original_string: public function setPublic($boolean)
      {
          $this->changes['public'] = true;
  
          $this->public = (bool) $boolean;
          $this->private = false;
  
          return $this;
      }
code: public function setPublic($boolean)
      {
          $this->changes['public'] = true;
  
          $this->public = (bool) $boolean;
          $this->private = false;
  
          return $this;
      }
code_tokens: public function setPublic ( $ boolean ) { $ this -> changes [ 'public' ] = true ; $ this -> public = ( bool ) $ boolean ; $ this -> private = false ; return $ this ; }
docstring: Sets the visibility of this service.
  
  @param bool $boolean
  
  @return $this
docstring_tokens: Sets the visibility of this service .