protected function category() : array
	{
		$category = explode('|', urldecode($this->data->get('category')));

		return [
			'category' => isset($category[0]) ? $category[0] : 1,
			'category_name' => isset($category[1]) ? $category[1] : '',
		];
	}
protected function category() : array
	{
		$category = explode('|', urldecode($this->data->get('category')));

		return [
			'category' => isset($category[0]) ? $category[0] : 1,
			'category_name' => isset($category[1]) ? $category[1] : '',
		];
	}
protected function category ( ) : array { $ category = explode ( '|' , urldecode ( $ this -> data -> get ( 'category' ) ) ) ; return [ 'category' => isset ( $ category [ 0 ] ) ? $ category [ 0 ] : 1 , 'category_name' => isset ( $ category [ 1 ] ) ? $ category [ 1 ] : '' , ] ; }
Returns the category associated with the given data.

@return array
Returns the category associated with the given data .