public function setPaperSize($sSize = null, $sOrientation = null)
    {
        $this->sPaperSize        = $sSize ?: static::DEFAULT_PAPER_SIZE;
        $this->sPaperOrientation = $sOrientation ?: static::DEFAULT_PAPER_ORIENTATION;
        $this->oDomPdf->setPaper($this->sPaperSize, $this->sPaperOrientation);
        return $this;
    }
public function setPaperSize($sSize = null, $sOrientation = null)
    {
        $this->sPaperSize        = $sSize ?: static::DEFAULT_PAPER_SIZE;
        $this->sPaperOrientation = $sOrientation ?: static::DEFAULT_PAPER_ORIENTATION;
        $this->oDomPdf->setPaper($this->sPaperSize, $this->sPaperOrientation);
        return $this;
    }
public function setPaperSize ( $ sSize = null , $ sOrientation = null ) { $ this -> sPaperSize = $ sSize ? : static :: DEFAULT_PAPER_SIZE ; $ this -> sPaperOrientation = $ sOrientation ? : static :: DEFAULT_PAPER_ORIENTATION ; $ this -> oDomPdf -> setPaper ( $ this -> sPaperSize , $ this -> sPaperOrientation ) ; return $ this ; }
Alias for setting the paper size

@param  string $sSize        The paper size to use
@param  string $sOrientation The paper orientation

@return $this
Alias for setting the paper size