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