original_string: public function setPublishedTo( $date, $format = null )
      {
          $this->publishedTo = empty( $date ) ? null : $this->inputDate( $date, $format );
          return $this;
      }
code: public function setPublishedTo( $date, $format = null )
      {
          $this->publishedTo = empty( $date ) ? null : $this->inputDate( $date, $format );
          return $this;
      }
code_tokens: public function setPublishedTo ( $ date , $ format = null ) { $ this -> publishedTo = empty ( $ date ) ? null : $ this -> inputDate ( $ date , $ format ) ; return $ this ; }
docstring: Set published-to date
  
  @param \DateTime|string $date
  @param string|null $format
  @return \Grid\Paragraph\Model\Paragraph\Structure\Content
docstring_tokens: Set published - to date