Airship\Engine\Gears::sandboxRequire PHP Méthode

sandboxRequire() protected méthode

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
Résultat boolean
    protected function sandboxRequire(string $file) : bool
    {
        return (require $file) === 1;
    }