for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NoaaCapAlerts\XmlProvider;
class FileProvider implements XmlProvider
{
protected $filePath;
function __construct(string $filePath = '')
$this->filePath = $filePath;
}
public function getXml() : string
$xml = file_get_contents($this->filePath);
return $xml;