PHP Class Alex\BehatLauncher\Behat\RunUnitList

Inheritance: implements IteratorAggregate, implements Countable, implements Symfony\Component\Serializer\Normalizer\NormalizableInterface
Afficher le fichier Open project: alexandresalome/behat-launcher Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $units = [] )
add ( RunUnit $unit ) : Run Adds a run unit to the list.
all ( ) : array Returns all units as a PHP array.
count ( )
countFailed ( ) : integer
countFinished ( ) : integer
countPending ( ) : integer
countRunning ( ) : integer
countSucceeded ( ) : integer
get ( string $id ) : RunUnit Fetches a unit by ID.
getIterator ( )
isFailed ( ) : boolean
isFinished ( ) : boolean
isPending ( ) : boolean
isRunning ( ) : boolean
isSucceeded ( ) : boolean
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )

Method Details

__construct() public méthode

public __construct ( array $units = [] )
$units array

add() public méthode

Adds a run unit to the list.
public add ( RunUnit $unit ) : Run
$unit RunUnit a run unit
Résultat Run

all() public méthode

Returns all units as a PHP array.
public all ( ) : array
Résultat array

count() public méthode

public count ( )

countFailed() public méthode

public countFailed ( ) : integer
Résultat integer

countFinished() public méthode

public countFinished ( ) : integer
Résultat integer

countPending() public méthode

public countPending ( ) : integer
Résultat integer

countRunning() public méthode

public countRunning ( ) : integer
Résultat integer

countSucceeded() public méthode

public countSucceeded ( ) : integer
Résultat integer

get() public méthode

Fetches a unit by ID.
public get ( string $id ) : RunUnit
$id string a unit ID
Résultat RunUnit unit with given id

getIterator() public méthode

public getIterator ( )

isFailed() public méthode

public isFailed ( ) : boolean
Résultat boolean

isFinished() public méthode

public isFinished ( ) : boolean
Résultat boolean

isPending() public méthode

public isPending ( ) : boolean
Résultat boolean

isRunning() public méthode

public isRunning ( ) : boolean
Résultat boolean

isSucceeded() public méthode

public isSucceeded ( ) : boolean
Résultat boolean

normalize() public méthode

public normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$context array