PHP Class PhpSpec\Event\SuiteEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event, implements PhpSpecEvent
Show file Open project: phpspec/phpspec Class Usage Examples

Public Methods

Method Description
__construct ( PhpSpec\Loader\Suite $suite, float $time = null, integer $result = null )
getResult ( ) : integer
getSuite ( ) : PhpSpec\Loader\Suite
getTime ( ) : float
isWorthRerunning ( ) : boolean
markAsNotWorthRerunning ( )
markAsWorthRerunning ( )

Method Details

__construct() public method

public __construct ( PhpSpec\Loader\Suite $suite, float $time = null, integer $result = null )
$suite PhpSpec\Loader\Suite
$time float
$result integer

getResult() public method

public getResult ( ) : integer
return integer

getSuite() public method

public getSuite ( ) : PhpSpec\Loader\Suite
return PhpSpec\Loader\Suite

getTime() public method

public getTime ( ) : float
return float

isWorthRerunning() public method

public isWorthRerunning ( ) : boolean
return boolean

markAsNotWorthRerunning() public method

markAsWorthRerunning() public method