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