PHP 클래스 kahlan\cli\Kahlan

상속: use trait Kahlan\Filter\Behavior\Filterable
파일 보기 프로젝트 열기: crysalead/kahlan

보호된 프로퍼티들

프로퍼티 타입 설명
$_autoloader object The runtime autoloader.
$_commandLine object The arguments.
$_reporters object The reporter container.
$_start float Starting time.
$_suite object The suite instance.

공개 메소드들

메소드 설명
__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.

보호된 메소드들

메소드 설명
_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.

메소드 상세

__construct() 공개 메소드

The Constructor.
public __construct ( array $options = [] )
$options array Possible options are: - `'autoloader'` _object_ : The autoloader instance. - `'suite'` _object_ : The suite instance.

_bootstrap() 보호된 메소드

The default 'bootstrap' filter.
protected _bootstrap ( )

_console() 보호된 메소드

The default 'console' filter.
protected _console ( )

_coverage() 보호된 메소드

The default 'coverage' filter.
protected _coverage ( )

_help() 보호된 메소드

Echoes the help message.
protected _help ( )

_interceptor() 보호된 메소드

The default 'interceptor' filter.
protected _interceptor ( )

_load() 보호된 메소드

The default 'load' filter.
protected _load ( )

_matchers() 보호된 메소드

The default 'matchers' filter.
protected _matchers ( )

_namespaces() 보호된 메소드

The default 'namespace' filter.
protected _namespaces ( )

_patchers() 보호된 메소드

The default 'patcher' filter.
protected _patchers ( )

_quit() 보호된 메소드

The default 'quit' filter.
protected _quit ( )

_reporters() 보호된 메소드

The default 'reporters' filter.
protected _reporters ( )

_reporting() 보호된 메소드

The default 'reporting' filter.
protected _reporting ( )

_run() 보호된 메소드

The default 'run' filter.
protected _run ( )

_stop() 보호된 메소드

The default 'stop' filter.
protected _stop ( )

_version() 보호된 메소드

Echoes the Kahlan version.
protected _version ( )

autoloader() 공개 메소드

Returns the attached autoloader instance.
public autoloader ( ) : object
리턴 object

commandLine() 공개 메소드

Returns arguments instance.
public commandLine ( ) : object
리턴 object

composerPostUpdate() 공개 정적인 메소드

It will have no effect if the cache location is changed the default config file (i.e. 'kahlan-config.php').
public static composerPostUpdate ( Composer\Script\Event $event )
$event Composer\Script\Event

loadConfig() 공개 메소드

Load the config.
public loadConfig ( string $argv = [] )
$argv string The command line string.

registerMatchers() 공개 정적인 메소드

Regiter built-in matchers.
public static registerMatchers ( )

reporters() 공개 메소드

Returns the reporter container.
public reporters ( ) : object
리턴 object

run() 공개 메소드

Run the workflow.
public run ( )

status() 공개 메소드

Returns the exit status.
public status ( ) : integer
리턴 integer The exit status.

suite() 공개 메소드

Returns the suite instance.
public suite ( ) : object
리턴 object

terminal() 공개 메소드

Gets the default terminal console.
public terminal ( ) : object
리턴 object The default terminal console.

프로퍼티 상세

$_autoloader 보호되어 있는 프로퍼티

The runtime autoloader.
protected object $_autoloader
리턴 object

$_commandLine 보호되어 있는 프로퍼티

The arguments.
protected object $_commandLine
리턴 object

$_reporters 보호되어 있는 프로퍼티

The reporter container.
protected object $_reporters
리턴 object

$_start 보호되어 있는 프로퍼티

Starting time.
protected float $_start
리턴 float

$_suite 보호되어 있는 프로퍼티

The suite instance.
protected object $_suite
리턴 object