parse() public method

{@inheritDoc}
public parse ( string $file ) : array
$file string Local PHP file
return array
Example #1
0
 /**
  * @expectedException \TypeError
  * @expectedExceptionMessageRegExp /^The file ".+\/wrong_return\.php" must return a PHP array\.$/
  */
 public function testThrowsAnExceptionIfWrongValueReturnedInParsedFile()
 {
     $this->parser->parse(self::$dir . '/wrong_return.php');
 }