mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 10:41:32 +00:00
The latest images incorporate all changes previously added by the dockerfiles. The arm image however is still missing/unreliable from the registry and must be built independently.
40 lines
1.3 KiB
PHP
40 lines
1.3 KiB
PHP
<?php
|
|
namespace Barryvdh\Snappy\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade as BaseFacade;
|
|
use Barryvdh\Snappy\PdfFaker;
|
|
|
|
|
|
/**
|
|
* @method static \Barryvdh\Snappy\PdfWrapper setPaper($paper, $orientation = 'portrait')
|
|
* @method static \Barryvdh\Snappy\PdfWrapper setWarnings($warnings)
|
|
* @method static \Barryvdh\Snappy\PdfWrapper setOptions(array $options)
|
|
* @method static \Barryvdh\Snappy\PdfWrapper loadView($view, $data = array(), $mergeData = array(), $encoding = null)
|
|
* @method static \Barryvdh\Snappy\PdfWrapper loadHTML($string, $encoding = null)
|
|
* @method static \Barryvdh\Snappy\PdfWrapper loadFile($file)
|
|
* @method static string output($options = [])
|
|
* @method static \Barryvdh\Snappy\PdfWrapper save()
|
|
* @method static \Illuminate\Http\Response download($filename = 'document.pdf')
|
|
* @method static \Illuminate\Http\Response inline($filename = 'document.pdf')
|
|
*
|
|
*/
|
|
class SnappyPdf extends BaseFacade {
|
|
|
|
/**
|
|
* Get the registered name of the component.
|
|
*
|
|
* @return string
|
|
*/
|
|
protected static function getFacadeAccessor() { return 'snappy.pdf.wrapper'; }
|
|
|
|
/**
|
|
* Replace the bound instance with a fake.
|
|
*
|
|
* @return void
|
|
*/
|
|
public static function fake()
|
|
{
|
|
static::swap(new PdfFaker(app('snappy.pdf')));
|
|
}
|
|
|
|
} |