DoDomuDojade Documentation

DeleteRejectedSinceAnnouncementUseCase
in package

Read onlyYes

Use case for deleting announcements since the provided date

Table of Contents

Properties

$logger  : LoggerInterface
$repository  : PDOAnnouncementRepository

Methods

__construct()  : mixed
execute()  : int
Deletes rejected announcements older than the specified date

Properties

Methods

execute()

Deletes rejected announcements older than the specified date

public execute(string $date) : int
Parameters
$date : string
Tags
throws
Exception
Return values
int

number of announcements deleted


        
On this page

Search results