original_string: public function from($reportType)
      {
          if(!ReportTypes::exist($reportType))
              ReportTypes::invalidType();
  
          $this->type = ReportTypes::get($reportType);
  
          return $this;
      }
code: public function from($reportType)
      {
          if(!ReportTypes::exist($reportType))
              ReportTypes::invalidType();
  
          $this->type = ReportTypes::get($reportType);
  
          return $this;
      }
code_tokens: public function from ( $ reportType ) { if ( ! ReportTypes :: exist ( $ reportType ) ) ReportTypes :: invalidType ( ) ; $ this -> type = ReportTypes :: get ( $ reportType ) ; return $ this ; }
docstring: Set the report type
  
  @param $reportType
  @return $this
docstring_tokens: Set the report type