| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait ManagesProjects |
||
| 9 | { |
||
| 10 | use TransformsProjects; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Get a list of of projects. |
||
| 14 | * |
||
| 15 | * @param int $accountId |
||
| 16 | * @return Project[] |
||
| 17 | */ |
||
| 18 | 7 | public function projects(int $accountId): array |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get a single project. |
||
| 29 | * |
||
| 30 | * @param int $accountId |
||
| 31 | * @param int $id |
||
| 32 | * |
||
| 33 | * @return Project |
||
| 34 | */ |
||
| 35 | 1 | public function project(int $accountId, int $id): Project |
|
| 42 |