original_string: static function getList()
      {
          $list = new \BearFramework\DataList();
          foreach (self::$data as $addon) {
              $list[] = clone($addon);
          }
          return $list;
      }
code: static function getList()
      {
          $list = new \BearFramework\DataList();
          foreach (self::$data as $addon) {
              $list[] = clone($addon);
          }
          return $list;
      }
code_tokens: static function getList ( ) { $ list = new \ BearFramework \ DataList ( ) ; foreach ( self :: $ data as $ addon ) { $ list [ ] = clone ( $ addon ) ; } return $ list ; }
docstring: Returns a list of all registered addons.
  
  @return \BearFramework\DataList|\BearFramework\Addon[] A list of all registered addons.
docstring_tokens: Returns a list of all registered addons .