/** * @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(); }
/** * @return Collection|Colour[] */ public function loadAllColours() { return $this->colourResource->all(); }
public function all() { return $this->version->all(); }