Method | Description | |
---|---|---|
__construct ( array $projects = [] ) | Creates a new project. | |
add ( |
Adds a project to the list. | |
get ( string $name ) : |
Searches a Project in the list. | |
getAll ( ) : array | Returns all projects. | |
getIterator ( ) |
public __construct ( array $projects = [] ) | ||
$projects | array | an array of Project objects. |
public add ( |
||
$project | project to add to list | |
return |