original_string: private static function extractConstants()
      {
          $oClass = new \ReflectionClass(get_called_class());
          $constants = $oClass->getConstants();
          unset(
              $constants['IS_IMPLICIT_ABSTRACT'],
              $constants['IS_EXPLICIT_ABSTRACT'],
              $constants['IS_FINAL']
          );
  
          return $constants;
      }
code: private static function extractConstants()
      {
          $oClass = new \ReflectionClass(get_called_class());
          $constants = $oClass->getConstants();
          unset(
              $constants['IS_IMPLICIT_ABSTRACT'],
              $constants['IS_EXPLICIT_ABSTRACT'],
              $constants['IS_FINAL']
          );
  
          return $constants;
      }
code_tokens: private static function extractConstants ( ) { $ oClass = new \ ReflectionClass ( get_called_class ( ) ) ; $ constants = $ oClass -> getConstants ( ) ; unset ( $ constants [ 'IS_IMPLICIT_ABSTRACT' ] , $ constants [ 'IS_EXPLICIT_ABSTRACT' ] , $ constants [ 'IS_FINAL' ] ) ; return $ constants ; }
docstring: Extract constants using ReflectionClass
docstring_tokens: Extract constants using ReflectionClass