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();
    }
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();
    }
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 ( ) ; }
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
Parses a site .