original_string: public function format($format)
      {
          if(Format::exist($format))
              $this->format = Format::get($format);
          else
              Format::invalidType();
  
          return $this;
      }
code: public function format($format)
      {
          if(Format::exist($format))
              $this->format = Format::get($format);
          else
              Format::invalidType();
  
          return $this;
      }
code_tokens: public function format ( $ format ) { if ( Format :: exist ( $ format ) ) $ this -> format = Format :: get ( $ format ) ; else Format :: invalidType ( ) ; return $ this ; }
docstring: Set the format for the report.
  @param $format
  @return $this
docstring_tokens: Set the format for the report .