F::load()
Loads a file and returns the result or false
if the file to load does not exist
Parameters
Name | Type | Default | Description |
---|---|---|---|
$file * | string |
– | |
$fallback | mixed |
null |
|
$data | array |
[ ] |
Optional array of variables to extract in the variable scope |
Return type
mixed