PHP Class Airship\Engine\Continuum\Sandbox

ファイルを表示 Open project: paragonie/airship Class Usage Examples

Public Methods

Method Description
runSQLFile ( string $file, string $type ) : array Run a SQL file
safeInclude ( string $file, array $previous_metadata = [] ) : boolean Include a file from within a Phar
safeRequire ( string $file, array $previous_metadata = [] ) : boolean Require a file from within a Phar

Method Details

runSQLFile() public static method

Run a SQL file
public static runSQLFile ( string $file, string $type ) : array
$file string
$type string
return array

safeInclude() public static method

Include a file from within a Phar
public static safeInclude ( string $file, array $previous_metadata = [] ) : boolean
$file string
$previous_metadata array
return boolean

safeRequire() public static method

Require a file from within a Phar
public static safeRequire ( string $file, array $previous_metadata = [] ) : boolean
$file string
$previous_metadata array
return boolean