protected function getPath($name) {
		$path = [];
		$matches = null;
		preg_match('/^([^\[]+)/', $name, $matches);
		$path[] = $matches[0];
		preg_match_all('/\[([^\]]*)\]/', $name, $matches);
		$path = array_merge($path, $matches[1]);

		return $path;
	}
protected function getPath($name) {
		$path = [];
		$matches = null;
		preg_match('/^([^\[]+)/', $name, $matches);
		$path[] = $matches[0];
		preg_match_all('/\[([^\]]*)\]/', $name, $matches);
		$path = array_merge($path, $matches[1]);

		return $path;
	}
protected function getPath ( $ name ) { $ path = [ ] ; $ matches = null ; preg_match ( '/^([^\[]+)/' , $ name , $ matches ) ; $ path [ ] = $ matches [ 0 ] ; preg_match_all ( '/\[([^\]]*)\]/' , $ name , $ matches ) ; $ path = array_merge ( $ path , $ matches [ 1 ] ) ; return $ path ; }
Get a field path.
@param  string $name
@return string
Get a field path .