Пример #1
0
 /**
  * @return array
  */
 protected function getData()
 {
     if (!$this->loaded) {
         $this->data = $this->parseCollection($this->options->all());
         $this->loaded = true;
     }
     return $this->data;
 }
 /**
  * Returns all from the current model.
  *
  * @return static
  */
 public function all()
 {
     return $this->model->all();
 }
Пример #3
0
 /**
  * @return Collection|Colour[]
  */
 public function loadAllColours()
 {
     return $this->colourResource->all();
 }
Пример #4
0
 public function all()
 {
     return $this->version->all();
 }