Airship\Engine\Gears::sandboxRequire PHP Method

sandboxRequire() protected method

Load a file in a way that doesn't allow access to the parent method's internal functions
protected sandboxRequire ( string $file ) : boolean
$file string
return boolean
    protected function sandboxRequire(string $file) : bool
    {
        return (require $file) === 1;
    }