public function slug(string $slug): SectionTwigExtension
    {
        $this->throwNotFound = true;
        $this->options[ReadOptions::SLUG] = $slug;

        return $this;
    }
public function slug(string $slug): SectionTwigExtension
    {
        $this->throwNotFound = true;
        $this->options[ReadOptions::SLUG] = $slug;

        return $this;
    }
public function slug ( string $ slug ) : SectionTwigExtension { $ this -> throwNotFound = true ; $ this -> options [ ReadOptions :: SLUG ] = $ slug ; return $ this ; }
Only fetch the entry with the given slug.

@param string $slug
@return SectionTwigExtension
Only fetch the entry with the given slug .