GoogleSpreadsheet\Tests\Google\Spreadsheet\TestBase::getSimpleXMLElement PHP Method

getSimpleXMLElement() protected method

Read an xml file from the filessytem and return it as a SimpleXMLElement object.
protected getSimpleXMLElement ( string $file ) : SimpleXMLElement
$file string
return SimpleXMLElement
    protected function getSimpleXMLElement($file)
    {
        return new \SimpleXMLElement(file_get_contents(__DIR__ . "/xml/{$file}.xml"));
    }