original_string: public static function getClassProperties($class)
      {
          $properties = [];
          Logger::log('Extracting annotations properties from class ' . $class);
          $selfReflector = new \ReflectionClass($class);
          if (false !== $selfReflector->getParentClass()) {
              $properties = self::getClassProperties($selfReflector->getParentClass()->getName());
          }
          $properties = array_merge($properties, self::extractProperties($selfReflector));
          return $properties;
      }
code: public static function getClassProperties($class)
      {
          $properties = [];
          Logger::log('Extracting annotations properties from class ' . $class);
          $selfReflector = new \ReflectionClass($class);
          if (false !== $selfReflector->getParentClass()) {
              $properties = self::getClassProperties($selfReflector->getParentClass()->getName());
          }
          $properties = array_merge($properties, self::extractProperties($selfReflector));
          return $properties;
      }
code_tokens: public static function getClassProperties ( $ class ) { $ properties = [ ] ; Logger :: log ( 'Extracting annotations properties from class ' . $ class ) ; $ selfReflector = new \ ReflectionClass ( $ class ) ; if ( false !== $ selfReflector -> getParentClass ( ) ) { $ properties = self :: getClassProperties ( $ selfReflector -> getParentClass ( ) -> getName ( ) ) ; } $ properties = array_merge ( $ properties , self :: extractProperties ( $ selfReflector ) ) ; return $ properties ; }
docstring: Method that extract all the properties of a class
  @param string $class
  @return array
docstring_tokens: Method that extract all the properties of a class