public function before(string $before): SectionTwigExtension
    {
        $this->options[ReadOptions::BEFORE] = new \DateTime($before);

        return $this;
    }
public function before(string $before): SectionTwigExtension
    {
        $this->options[ReadOptions::BEFORE] = new \DateTime($before);

        return $this;
    }
public function before ( string $ before ) : SectionTwigExtension { $ this -> options [ ReadOptions :: BEFORE ] = new \ DateTime ( $ before ) ; return $ this ; }
Only fetch entries with a Post Date that is before the given date.

@param string $before
@return SectionTwigExtension
Only fetch entries with a Post Date that is before the given date .