Documentation

UpdateFeed

Use case for updating an existing feed.

Tags
since
3.0.0

Table of Contents

Properties

$feedRepository  : FeedRepositoryInterface

Methods

__construct()  : mixed
Constructor.
execute()  : Feed|null
Execute the use case.

Properties

Methods

execute()

Execute the use case.

public execute(int $feedId, int $languageId, string $name, string $sourceUri[, string $articleSectionTags = '' ][, string $filterTags = '' ][, string $options = '' ]) : Feed|null
Parameters
$feedId : int

Feed ID

$languageId : int

Language ID

$name : string

Feed name

$sourceUri : string

Feed source URI

$articleSectionTags : string = ''

XPath selectors for article content

$filterTags : string = ''

XPath selectors for elements to remove

$options : string = ''

Feed options string

Return values
Feed|null

The updated feed or null if not found


        
On this page

Search results