convert() public method

Converts the given string to an array structure.
public convert ( string $string ) : array
$string string
return array
Example #1
0
 /**
  * @dataProvider getXmlFixtures
  */
 public function testConvertXml($xml, $expectation)
 {
     $handler = new Common\Input\Handler\Xml();
     $this->assertSame($expectation, $handler->convert($xml));
 }