/** * @return array|mixed */ public function all() { if (!$this->isCached) { $this->cache = $this->inner->all(); $this->isCached = true; } return $this->cache; }
/** * Data for handler. * * @return array */ public function data() { return $this->settings->all()->toArray(); }