getArray() public method

get the array
Since: 3.0.0
public getArray ( ) : array
return array
Ejemplo n.º 1
0
 /**
  * testConvertToArray
  *
  * @since 3.0.0
  */
 public function testConvertToArray()
 {
     /* setup */
     $reader = new Reader();
     $reader->loadXML('tests/provider/reader.xml');
     /* actual */
     $actual = $reader->getArray();
     /* compare */
     $this->assertEquals('1', $actual['@attributes']['id']);
 }