KernelTesting
class KernelTesting extends Loader (View source)
Properties
| static protected Loader | $instance | from Loader | |
| protected Arraydotify | $config | from Loader | |
| protected string | $base_path | from Loader | |
| protected string | $config_path | from Loader | |
| protected bool | $booted | from Loader |
Methods
No description
Define if the configuration going to boot without session manager
No description
No description
Set the loading configuration
Set the loading events
Set the loading middlewares
Details
in
Loader at line 76
static Loader
configure(string $base_path)
Configuration Loader
in
Loader at line 90
bool
isCli()
Check if php running env is cli
string
getPath(string $filename)
Get the base path
string
getBasePath()
Get the base path
Loader
withConfigPath(string $path)
Set the configuration path
array
getMiddlewares()
Middleware collection
array
middlewares()
No description
array
getNamespaces()
Namespaces collection
array
namespaces()
Get app namespace
Loader
withoutSession()
Define if the configuration going to boot without session manager
Loader
boot()
Load configuration
array
configurations()
No description
static Loader
getInstance()
Alias of singleton
array
events()
No description
void
schedules(Scheduler $schedule)
Define scheduled tasks
Override this method in your Kernel to define scheduled tasks.
bool
offsetExists(mixed $offset)
No description
mixed
offsetGet(mixed $offset)
No description
void
offsetSet(mixed $offset, mixed $value)
No description
void
offsetUnset(mixed $offset)
No description
mixed
__invoke(string $key, mixed $value = null)
__invoke
static void
withConfigurations(array $configurations)
Set the loading configuration
static void
withEvents(array $events)
Set the loading events
static void
withMiddlewares(array $middlewares)
Set the loading middlewares