Lines Matching refs:dirname
20 * @param string $dirname Name of the directory where the translations files are located
23 public function learn(string $dirname = '')
25 if (empty($dirname))
27 $dirname = __DIR__ . '/../../resources/*/*.txt';
29 else if (!\is_dir($dirname) || !\is_readable($dirname))
35 $dirname = \rtrim($dirname, '/');
36 $dirname .= '/*/*.txt';
40 foreach (new \GlobIterator($dirname) as $txt)