private function traverse($request, $data)
	{
		if (is_array($data))
		{
			foreach ($data as $key => $value)
			{
				$data[$key] = $this->convert($request, $key, $value);
			}
		}
		else if (is_object($data))
		{
			foreach (array_keys(get_object_vars($data)) as $key)
			{
				$data->$key = $this->convert($request, $key, $data->$key);
			}
		}

		return $data;
	}
private function traverse($request, $data)
	{
		if (is_array($data))
		{
			foreach ($data as $key => $value)
			{
				$data[$key] = $this->convert($request, $key, $value);
			}
		}
		else if (is_object($data))
		{
			foreach (array_keys(get_object_vars($data)) as $key)
			{
				$data->$key = $this->convert($request, $key, $data->$key);
			}
		}

		return $data;
	}
private function traverse ( $ request , $ data ) { if ( is_array ( $ data ) ) { foreach ( $ data as $ key => $ value ) { $ data [ $ key ] = $ this -> convert ( $ request , $ key , $ value ) ; } } else if ( is_object ( $ data ) ) { foreach ( array_keys ( get_object_vars ( $ data ) ) as $ key ) { $ data -> $ key = $ this -> convert ( $ request , $ key , $ data -> $ key ) ; } } return $ data ; }
Look for keys in data and convert found values

@param   object  $request
@param   mixed   $data
@return  mixed
Look for keys in data and convert found values