/** * get the drill down data and convert it to an array * @return mixed */ protected function schoolData() { return json_decode(json_encode(Afg::categoriesDrilldown($this->selectedYears(), $this->selectedPriorities())), true); }