protected function all() : array
	{
		//TODO: refactor this when working on the front end.

		$breadcrumb = $this->data->except('page');

		if ($this->data->has('category')) {
			$breadcrumb = $breadcrumb->merge($this->category());
		}

		return $breadcrumb->all();
	}
protected function all() : array
	{
		//TODO: refactor this when working on the front end.

		$breadcrumb = $this->data->except('page');

		if ($this->data->has('category')) {
			$breadcrumb = $breadcrumb->merge($this->category());
		}

		return $breadcrumb->all();
	}
protected function all ( ) : array { //TODO: refactor this when working on the front end. $ breadcrumb = $ this -> data -> except ( 'page' ) ; if ( $ this -> data -> has ( 'category' ) ) { $ breadcrumb = $ breadcrumb -> merge ( $ this -> category ( ) ) ; } return $ breadcrumb -> all ( ) ; }
Parses the given data.

@return array
Parses the given data .