public function setFeedType(?SubFeed $subFeed): void
    {
        if ($subFeed && !$subFeed->getFeedType()) {
            throw new \InvalidArgumentException('The feedType field must be specified on the subfeed.');
        }
        $this->feedTypeSubFeed = $subFeed;
    }
public function setFeedType(?SubFeed $subFeed): void
    {
        if ($subFeed && !$subFeed->getFeedType()) {
            throw new \InvalidArgumentException('The feedType field must be specified on the subfeed.');
        }
        $this->feedTypeSubFeed = $subFeed;
    }
public function setFeedType ( ? SubFeed $ subFeed ) : void { if ( $ subFeed && ! $ subFeed -> getFeedType ( ) ) { throw new \ InvalidArgumentException ( 'The feedType field must be specified on the subfeed.' ) ; } $ this -> feedTypeSubFeed = $ subFeed ; }
Specifies a subfeed of the main feed.

This corresponds to a SubFeed.FeedType value of an item in the FeedConfig.subFeeds field.

@param SubFeed $subFeed
Specifies a subfeed of the main feed .