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