| Total Complexity | 3 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class NoaaAlertFactory |
||
| 11 | { |
||
| 12 | private $xmlProvider; |
||
| 13 | private $indexParser; |
||
| 14 | private $polygonFactory; |
||
| 15 | |||
| 16 | 2 | public function __construct(XmlProvider $xmlProvider, NoaaIndexParser $indexParser, PolygonFactory $polygonFactory) |
|
| 17 | { |
||
| 18 | 2 | $this->xmlProvider = $xmlProvider; |
|
| 19 | 2 | $this->indexParser = $indexParser; |
|
| 20 | 2 | $this->polygonFactory = $polygonFactory; |
|
| 21 | 2 | } |
|
| 22 | |||
| 23 | 2 | public function getAlerts(): array |
|
| 59 | } |
||
| 60 | } |