Esempio n. 1
0
 /**
  * Get Configuration
  *
  * @return array
  */
 public static function getConfiguration()
 {
     return self::$configuration = Yaml::fromString(__DIR__ . self::$file)->parse();
 }
Esempio n. 2
0
 /**
  * @param  $identifier
  * @return array
  */
 public static function buildLanguage($identifier)
 {
     return [$identifier => Yaml::fromString(self::getFileString($identifier))->parse()];
 }