ConsoleHelper
class ConsoleHelper (View source)
The ConsoleHelper class.
Methods
static array
static PackageResolver
static ResponseInterface
executeWeb(ServerRequestInterface $request, array $config = array(), string $appClass = 'Windwalker\\Web\\Application')
executeWeb
static ResponseInterface
executePackage(string $package, string $task, ServerRequestInterface $request, array $config = array(), string $appClass = 'Windwalker\\Web\\Application')
Execute a package in CLI environment.
Details
at line line 36
static array
loadPackages(string $env = 'dev', CoreConsole $console = null)
loadPackages
at line line 54
static PackageResolver
getAllPackagesResolver(string $env = 'dev', CoreConsole $console = null)
getAllPackagesResolver
at line line 80
static ResponseInterface
executeWeb(ServerRequestInterface $request, array $config = array(), string $appClass = 'Windwalker\\Web\\Application')
executeWeb
at line line 123
static ResponseInterface
executePackage(string $package, string $task, ServerRequestInterface $request, array $config = array(), string $appClass = 'Windwalker\\Web\\Application')
Execute a package in CLI environment.