Barryvdh\Snappy\PdfWrapper::setWarnings PHP Method

setWarnings() public method

Show or hide warnings
Deprecation:
public setWarnings ( boolean $warnings )
$warnings boolean
    public function setWarnings($warnings)
    {
        //Doesn't do anything
        return $this;
    }

Usage Example

Beispiel #1
0
 /**
  * Show or hide warnings
  *
  * @param bool $warnings
  * @return $this 
  * @deprecated 
  * @static 
  */
 public static function setWarnings($warnings)
 {
     return \Barryvdh\Snappy\PdfWrapper::setWarnings($warnings);
 }