- ⌂ web_launcher
- Static Methods
web_launcher::launch()
Launches a package from a web request.
Prototype
void launch(string $comand_directory, string $comand_parts)
Parameters
- comand_directory - Path to the package directory.
- comand_parts - Associative array with to key value pairs:
- request - The request URL. For example '/'.
- package - The package namespace.
Example
\io_comand_package\web_launcher::launch($pkg_dir, $parts);