tests/ParserTests/TestFileReader.php
/**
	 * Read and parse a parserTest file.
	 * @param string $testFilePath The parserTest file to read
	 * @return Test[]
	 */
Read and parse a parserTest file.
@param string $testFilePath The parserTest file to read
@return Test[]
Read and parse a parserTest file . @param string $testFilePath The parserTest file to read @return Test []
public static function read(
		string $testFilePath
	): array {
		$reader = new self(
			$testFilePath
		);
		return $reader->testCases;
	}
public static function read ( string $ testFilePath ) : array { $ reader = new self ( $ testFilePath ) ; return $ reader -> testCases ; }
Read and parse a parserTest file.
Read and parse a parserTest file .