/** * Sets up the languages collection to be used by the iew. * * @param $view */ public function compose($view) { $view->languages = $this->languages->getAll(); }
/** * Returns the languages that are available to the system. * * @return collection */ public function availableLanguages() { return $this->languages->getAll(); }