public function flatten($separator = null)
	{
		$array = array();

		if (empty($separator))
		{
			$separator = $this->separator;
		}

		$this->toFlatten($separator, $this->data, $array);

		return $array;
	}
public function flatten($separator = null)
	{
		$array = array();

		if (empty($separator))
		{
			$separator = $this->separator;
		}

		$this->toFlatten($separator, $this->data, $array);

		return $array;
	}
public function flatten ( $ separator = null ) { $ array = array ( ) ; if ( empty ( $ separator ) ) { $ separator = $ this -> separator ; } $ this -> toFlatten ( $ separator , $ this -> data , $ array ) ; return $ array ; }
Dump to one dimension array.

@param   string  $separator  The key separator.

@return  string[]  Dumped array.

@since   1.3.0
Dump to one dimension array .