Property | Type | Description | |
---|---|---|---|
$_autoloader | object | The runtime autoloader. | |
$_commandLine | object | The arguments. | |
$_reporters | object | The reporter container. | |
$_start | float | Starting time. | |
$_suite | object | The suite instance. |
Method | Description | |
---|---|---|
__construct ( array $options = [] ) | The Constructor. | |
autoloader ( ) : object | Returns the attached autoloader instance. | |
commandLine ( ) : object | Returns arguments instance. | |
composerPostUpdate ( Composer\Script\Event $event ) | Warning ! This method should only be called by Composer as an attempt to auto clear up caches automatically when the version of Kahlan is updated. | |
loadConfig ( string $argv = [] ) | Load the config. | |
registerMatchers ( ) | Regiter built-in matchers. | |
reporters ( ) : object | Returns the reporter container. | |
run ( ) | Run the workflow. | |
status ( ) : integer | Returns the exit status. | |
suite ( ) : object | Returns the suite instance. | |
terminal ( ) : object | Gets the default terminal console. |
Method | Description | |
---|---|---|
_bootstrap ( ) | The default 'bootstrap' filter. | |
_console ( ) | The default 'console' filter. | |
_coverage ( ) | The default 'coverage' filter. | |
_help ( ) | Echoes the help message. | |
_interceptor ( ) | The default 'interceptor' filter. | |
_load ( ) | The default 'load' filter. | |
_matchers ( ) | The default 'matchers' filter. | |
_namespaces ( ) | The default 'namespace' filter. | |
_patchers ( ) | The default 'patcher' filter. | |
_quit ( ) | The default 'quit' filter. | |
_reporters ( ) | The default 'reporters' filter. | |
_reporting ( ) | The default 'reporting' filter. | |
_run ( ) | The default 'run' filter. | |
_stop ( ) | The default 'stop' filter. | |
_version ( ) | Echoes the Kahlan version. |
public __construct ( array $options = [] ) | ||
$options | array | Possible options are: - `'autoloader'` _object_ : The autoloader instance. - `'suite'` _object_ : The suite instance. |
public autoloader ( ) : object | ||
return | object |
public commandLine ( ) : object | ||
return | object |
public static composerPostUpdate ( Composer\Script\Event $event ) | ||
$event | Composer\Script\Event |
public loadConfig ( string $argv = [] ) | ||
$argv | string | The command line string. |
public static registerMatchers ( ) |