F::load()
Loads a file and returns the result or false
if the file to load does not exist
F::load(string $file, mixed $fallback = null, array $data = [ ], bool $allowOutput = true)
Parameters
Name | Type | Default | Description |
---|---|---|---|
$filerequired | string |
no default value | |
$fallback | mixed |
null
|
|
$data | array |
[ ]
|
Optional array of variables to extract in the variable scope |
$allowOutput | bool |
true
|