public function get($function)
    {
        $this->toDispatch[] = $function;

        if (is_null($this->dataProvider)) {
            $this->currentData = null;
            $this->dispatchData();
            return;
        }

        if (is_null($this->currentData)) {
            if (!$this->callMade) {
                $this->callMade = true;
                $this->dataProvider->request();
            }
            return;
        }

        $this->dispatchData();
    }