public function taxonomy(string $taxonomy): Repository
    {
        $taxonomyArr = $this->taxonomies->get($taxonomy);

        $this->taxonomies = new Collection($taxonomyArr);

        return $this;
    }
public function taxonomy(string $taxonomy): Repository
    {
        $taxonomyArr = $this->taxonomies->get($taxonomy);

        $this->taxonomies = new Collection($taxonomyArr);

        return $this;
    }
public function taxonomy ( string $ taxonomy ) : Repository { $ taxonomyArr = $ this -> taxonomies -> get ( $ taxonomy ) ; $ this -> taxonomies = new Collection ( $ taxonomyArr ) ; return $ this ; }
Set the working taxonomy

@param string $taxonomy
@return $this
Set the working taxonomy