PHP Class Alex\BehatLauncher\Behat\ProjectList

Inheritance: implements IteratorAggregate
Afficher le fichier Open project: alexandresalome/behat-launcher

Méthodes publiques

Méthode Description
__construct ( array $projects = [] ) Creates a new project.
add ( Project $project ) : ProjectList Adds a project to the list.
get ( string $name ) : Project Searches a Project in the list.
getAll ( ) : array Returns all projects.
getIterator ( )

Method Details

__construct() public méthode

Creates a new project.
public __construct ( array $projects = [] )
$projects array an array of Project objects.

add() public méthode

Adds a project to the list.
public add ( Project $project ) : ProjectList
$project Project project to add to list
Résultat ProjectList

get() public méthode

Searches a Project in the list.
public get ( string $name ) : Project
$name string a project name
Résultat Project

getAll() public méthode

Returns all projects.
public getAll ( ) : array
Résultat array an array of Project objects

getIterator() public méthode

public getIterator ( )