예제 #1
0
파일: Counter.php 프로젝트: reysub/MateCat
 /**
  * @param WordCount_Struct $oldWCount
  */
 public function __construct(WordCount_Struct $oldWCount = null)
 {
     $reflect = new ReflectionClass('Constants_TranslationStatus');
     self::$constCache = array_flip($reflect->getConstants());
     if ($oldWCount !== null) {
         $this->setOldWordCount($oldWCount);
     }
 }