Skip to content

Commit

Permalink
Middleware Language
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecesarano committed Jun 15, 2017
1 parent 754f90e commit 1f5af37
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/middleware/Language.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php namespace Middleware;

/**
* Language
*
* @author Davide Cesarano
*/

use Helpers\Language as setLanguage;

class Language {

/**
* Setta messaggi in base alla lingua
*
* @param string $code
* @return array
*/
public function index($code){
setLanguage::set($code);
}

}

0 comments on commit 1f5af37

Please sign in to comment.