original_string: public function save($idSite)
      {
          $this->checkIdSiteIsLoaded($idSite);
  
          $optionName = self::getAnnotationCollectionOptionName($idSite);
          Option::set($optionName, serialize($this->annotations[$idSite]));
      }
code: public function save($idSite)
      {
          $this->checkIdSiteIsLoaded($idSite);
  
          $optionName = self::getAnnotationCollectionOptionName($idSite);
          Option::set($optionName, serialize($this->annotations[$idSite]));
      }
code_tokens: public function save ( $ idSite ) { $ this -> checkIdSiteIsLoaded ( $ idSite ) ; $ optionName = self :: getAnnotationCollectionOptionName ( $ idSite ) ; Option :: set ( $ optionName , serialize ( $ this -> annotations [ $ idSite ] ) ) ; }
docstring: Persists the annotations list for a site, overwriting whatever exists.
  
  @param int $idSite The ID of the site to save annotations for.
  @throws Exception if $idSite is not an ID that was supplied upon construction.
docstring_tokens: Persists the annotations list for a site overwriting whatever exists .