예제 #1
0
 public static function isPriorLanguage($file)
 {
     if (strpos($file, ConfigResolver::get('prior_language') . '\\') !== FALSE) {
         return true;
     }
     return false;
 }
예제 #2
0
 public function __construct($errorCode, $language, $file, $operation = null)
 {
     $this->errorCode = $errorCode;
     $this->language = $language;
     $this->fileName = $file;
     if (ConfigResolver::get('auto_fix')) {
         $this->operation = $operation;
     }
 }
 private function getDirectory()
 {
     return ConfigResolver::get('main_directory');
 }