API Documentation

AnonymousViewCompiler
in package

Compile any Blade file using the Blade facade as it allows us to render it without having to register the directory with the view finder.

Table of Contents

Properties

$data  : array<string|int, mixed>
$viewPath  : string

Methods

__construct()  : mixed
__invoke()  : string
handle()  : string

Properties

Methods

__construct()

public __construct(string $viewPath[, array<string|int, mixed> $data = [] ]) : mixed
Parameters
$viewPath : string
$data : array<string|int, mixed> = []

handle()

public static handle(string $viewPath[, array<string|int, mixed> $data = [] ]) : string
Parameters
$viewPath : string
$data : array<string|int, mixed> = []
Return values
string

        
On this page

Search results