public function getNestedStructureForDottedNotation(array $row)
	{
		$propertyPaths = [];

		$objectStructure = [];
		foreach ($row as $key => $value) {
			self::applyValueProcessors($key, $value);
			self::traverseObjectStructure($objectStructure, $propertyPaths, $key, $value);
		}

		return [$objectStructure, array_values($propertyPaths)];
	}
public function getNestedStructureForDottedNotation(array $row)
	{
		$propertyPaths = [];

		$objectStructure = [];
		foreach ($row as $key => $value) {
			self::applyValueProcessors($key, $value);
			self::traverseObjectStructure($objectStructure, $propertyPaths, $key, $value);
		}

		return [$objectStructure, array_values($propertyPaths)];
	}
public function getNestedStructureForDottedNotation ( array $ row ) { $ propertyPaths = [ ] ; $ objectStructure = [ ] ; foreach ( $ row as $ key => $ value ) { self :: applyValueProcessors ( $ key , $ value ) ; self :: traverseObjectStructure ( $ objectStructure , $ propertyPaths , $ key , $ value ) ; } return [ $ objectStructure , array_values ( $ propertyPaths ) ] ; }
The input structure needs to be a key=>value map.
Every key should be a dot notation property path, every value the
corresponding value.

Example input in ".feature" file notation:
| foo -> json_encode() | ["bar"] |
| foo.2                | batz    |

Example output in PHP code:
$result = ["foo" => [0 => "bar", 2: "batz"]]

The output is an array of the resulting nested array structure
and every property path contained.

@param $row
@return array
The input structure needs to be a key = > value map . Every key should be a dot notation property path every value the corresponding value .