Documentation

GetFeedById

Use case for retrieving a single feed by ID.

Tags
since
3.0.0

Table of Contents

Properties

$feedRepository  : FeedRepositoryInterface

Methods

__construct()  : mixed
Constructor.
execute()  : Feed|null
Execute the use case.
exists()  : bool
Check if a feed exists.

Properties

Methods

execute()

Execute the use case.

public execute(int $feedId) : Feed|null
Parameters
$feedId : int

Feed ID

Return values
Feed|null

Feed entity or null if not found

exists()

Check if a feed exists.

public exists(int $feedId) : bool
Parameters
$feedId : int

Feed ID

Return values
bool

True if exists


        
On this page

Search results