Workbench
class Workbench
Constants
| protected DEFAULT_CORE_BINDINGS |
The default cached core workbench bindings. |
Properties
| static protected Config|null | $cachedConfiguration | The cached test case configuration. |
|
| static protected array<string, null|string> | $cachedNamespaces | Cached namespace by path. |
|
| static protected null|Authenticatable>|false | $cachedUserModel | The cached test case configuration. |
|
| static array{kernel: array{console?: null|string, http?: null|string}, handler: array{exception?: null|string}} | $cachedCoreBindings | The cached core workbench bindings. |
Methods
Resolve the configuration.
Get application Console Kernel implementation.
Get application HTTP Kernel implementation using Workbench.
Get application HTTP exception handler using Workbench.
Get application User Model.
Detect namespace by type.
Flush the cached configuration.
Flush the cached namespace configuration.
Details
at line 78
static void
start(Application $app, Config $config, array $providers = [])
| internal |
Start Workbench.
at line 96
static void
startWithProviders(Application $app, Config $config)
| internal |
Start Workbench with providers.
at line 112
static void
discoverRoutes(Application $app, Config $config)
Discover Workbench routes.
at line 222
static void
discoverCommandsRoutes(Application $app)
Discover Workbench command routes.
at line 256
static Config
configuration()
Resolve the configuration.
at line 265
static string|null
applicationConsoleKernel()
Get application Console Kernel implementation.
at line 279
static string|null
applicationHttpKernel()
Get application HTTP Kernel implementation using Workbench.
at line 293
static string|null
applicationExceptionHandler()
Get application HTTP exception handler using Workbench.
at line 309
static string|null
applicationUserModel()
Get application User Model.
at line 331
static string|null
detectNamespace(string $type, bool $force = false)
Detect namespace by type.
at line 373
static void
flush()
Flush the cached configuration.
at line 385
static void
flushCachedClassAndNamespaces()
Flush the cached namespace configuration.