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