Isolation class

Framework\Helpers\Isolation

Class Isolation.

Defined in libraries/helpers/src/Isolation.php

Methods #

require()
Requires a file in a sub-isolated scope.

require()

public static function require(string $__filename, array $__data = array ( )): mixed

Requires a file in a sub-isolated scope.

Parameters
  • string $__filename - The file to be required
  • array $__data - Data to be extracted as variables
Returns mixed - The return of the require