PHP Class PhpSpec\Event\SpecificationEvent

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

Public Methods

Method Description
__construct ( SpecificationNode $specification, float $time = null, integer $result = null )
getResult ( ) : integer
getSpecification ( ) : SpecificationNode
getSuite ( ) : PhpSpec\Loader\Suite
getTime ( ) : float
getTitle ( ) : string

Method Details

__construct() public method

public __construct ( SpecificationNode $specification, float $time = null, integer $result = null )
$specification PhpSpec\Loader\Node\SpecificationNode
$time float
$result integer

getResult() public method

public getResult ( ) : integer
return integer

getSpecification() public method

public getSpecification ( ) : SpecificationNode
return PhpSpec\Loader\Node\SpecificationNode

getSuite() public method

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

getTime() public method

public getTime ( ) : float
return float

getTitle() public method

public getTitle ( ) : string
return string