original_string: public function setPageOrientation(string $orientation): PdfInterface
      {
          $this->setProperty('pageOrientation', strtoupper($orientation[0]));
  
          $this->pageOrientation === 'L'
              ? $this->setProperty('pageFormat', $this->pageSize . '-' . $this->pageOrientation)
              : $this->setProperty('pageFormat', $this->pageSize);
  
          return $this;
      }
code: public function setPageOrientation(string $orientation): PdfInterface
      {
          $this->setProperty('pageOrientation', strtoupper($orientation[0]));
  
          $this->pageOrientation === 'L'
              ? $this->setProperty('pageFormat', $this->pageSize . '-' . $this->pageOrientation)
              : $this->setProperty('pageFormat', $this->pageSize);
  
          return $this;
      }
code_tokens: public function setPageOrientation ( string $ orientation ) : PdfInterface { $ this -> setProperty ( 'pageOrientation' , strtoupper ( $ orientation [ 0 ] ) ) ; $ this -> pageOrientation === 'L' ? $ this -> setProperty ( 'pageFormat' , $ this -> pageSize . '-' . $ this -> pageOrientation ) : $ this -> setProperty ( 'pageFormat' , $ this -> pageSize ) ; return $ this ; }
docstring: Set the page orientation.
  
  @param string $orientation The page orientation ['Portrait','Landscape']
  
  @return PdfInterface The current instance
docstring_tokens: Set the page orientation .