original_string: public static function groupsPage($json)
      {
          $fields = Deserialize::_fromJson($json);
  
          $result = new Api\Page();
          $result->setPage($fields->page);
          $result->setSize($fields->page_size);
          $result->setTotalSize($fields->count);
          $result->setContent(
              array_map(
                  function ($s) use ($json) {
                      return Deserialize::_groupResponseFromFields($json, $s);
                  },
                  $fields->groups
              )
          );
  
          return $result;
      }
code: public static function groupsPage($json)
      {
          $fields = Deserialize::_fromJson($json);
  
          $result = new Api\Page();
          $result->setPage($fields->page);
          $result->setSize($fields->page_size);
          $result->setTotalSize($fields->count);
          $result->setContent(
              array_map(
                  function ($s) use ($json) {
                      return Deserialize::_groupResponseFromFields($json, $s);
                  },
                  $fields->groups
              )
          );
  
          return $result;
      }
code_tokens: public static function groupsPage ( $ json ) { $ fields = Deserialize :: _fromJson ( $ json ) ; $ result = new Api \ Page ( ) ; $ result -> setPage ( $ fields -> page ) ; $ result -> setSize ( $ fields -> page_size ) ; $ result -> setTotalSize ( $ fields -> count ) ; $ result -> setContent ( array_map ( function ( $ s ) use ( $ json ) { return Deserialize :: _groupResponseFromFields ( $ json , $ s ) ; } , $ fields -> groups ) ) ; return $ result ; }
docstring: Parses a page of groups from the given JSON text.
  
  @param string $json JSON formatted text
  
  @return Api\Page the created page of groups
docstring_tokens: Parses a page of groups from the given JSON text .