bluetree-service/event

View on GitHub
src/Event/Config/XmlConfig.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace BlueEvent\Event\Config;

use Laminas\Config\Reader\Xml;

class XmlConfig implements ConfigReader
{
    /**
     * @param string $path
     * @return array
     */
    public function readConfig(string $path): array
    {
        $reader = new Xml();
        return $reader->fromFile($path);
    }
}