isChanged() 공개 메소드

Check if collection was change: collection itself (like insert new tokens) or any of collection's elements.
public isChanged ( ) : boolean
리턴 boolean
 private function runHelperFixers(\SplFileInfo $file, Tokens $tokens)
 {
     /** @var AbstractAlignFixerHelper $helper */
     foreach ($this->alignFixerHelpers as $helper) {
         if ($tokens->isChanged()) {
             $tokens->clearEmptyTokens();
         }
         $helper->fix($file, $tokens);
     }
 }