original_string: public function parseSite(array $attributes, array $spressAttributes, $draft = false, $safe = false, $timezone = 'UTC')
      {
          $this->attributes = $attributes;
          $this->spressAttributes = $spressAttributes;
          $this->safe = $safe;
          $this->timezone = $timezone;
          $this->processDraft = $draft;
  
          $this->reset();
          $this->setUp();
          $this->initializePlugins();
          $this->process();
          $this->finish();
  
          return $this->itemCollection->all();
      }
code: public function parseSite(array $attributes, array $spressAttributes, $draft = false, $safe = false, $timezone = 'UTC')
      {
          $this->attributes = $attributes;
          $this->spressAttributes = $spressAttributes;
          $this->safe = $safe;
          $this->timezone = $timezone;
          $this->processDraft = $draft;
  
          $this->reset();
          $this->setUp();
          $this->initializePlugins();
          $this->process();
          $this->finish();
  
          return $this->itemCollection->all();
      }
code_tokens: public function parseSite ( array $ attributes , array $ spressAttributes , $ draft = false , $ safe = false , $ timezone = 'UTC' ) { $ this -> attributes = $ attributes ; $ this -> spressAttributes = $ spressAttributes ; $ this -> safe = $ safe ; $ this -> timezone = $ timezone ; $ this -> processDraft = $ draft ; $ this -> reset ( ) ; $ this -> setUp ( ) ; $ this -> initializePlugins ( ) ; $ this -> process ( ) ; $ this -> finish ( ) ; return $ this -> itemCollection -> all ( ) ; }
docstring: Parses a site.
  
  @param array  $attributes       The site attributes
  @param array  $spressAttributes
  @param bool   $draft            Include draft posts
  @param bool   $safe             True for disabling custom plugins
  @param string $timezone         Sets the time zone. @see http://php.net/manual/en/timezones.php More time zones
  
  @return ItemInterface[] Items of the site
docstring_tokens: Parses a site .