Fenos\Notifynder\Contracts\NotificationDB::delete PHP Method

delete() public method

Delete a notification giving the id of it.
public delete ( $notificationId ) : boolean
$notificationId
return boolean
    public function delete($notificationId);

Usage Example

Ejemplo n.º 1
0
 /** @test */
 public function it_delete_a_notification_by_id(NotificationDB $notificationRepo)
 {
     $notification_id = 1;
     $notificationRepo->delete($notification_id)->shouldBeCalled()->willReturn(1);
     $this->delete($notification_id)->shouldReturn(1);
 }
All Usage Examples Of Fenos\Notifynder\Contracts\NotificationDB::delete