public function __construct($file) { $this->configuration = Yaml::parse(file_get_contents($file)); }
/** * Kana's constructor */ public function __construct($system = '') { $file = __DIR__ . DIRECTORY_SEPARATOR . 'Kana' . DIRECTORY_SEPARATOR . ($system ? $system : 'hiragana') . '.yaml'; parent::__construct($file); }