PHP Класс spec\Fenos\Notifynder\Notifications\NotificationManagerSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_count_notification_not_read ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_delete_a_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_delete_all_notification_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_delete_notification_by_categories ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_delete_notification_limiting_the_number_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_find_a_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_get_all_notifications_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo, NotifynderCollection $collection )
it_get_last_notification_of_the_current_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_get_last_notification_of_the_current_entity_filtering_by_category ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_get_not_read_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo, NotifynderCollection $collection )
it_is_initializable ( )
it_read_all_notification_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_read_notifications_limit_to_a_given_number ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_read_one_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_send_a_single_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_send_multiple_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
it_try_to_find_an_inexistent_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
let ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )

Описание методов

it_count_notification_not_read() публичный Метод

public it_count_notification_not_read ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_delete_a_notification_by_id() публичный Метод

public it_delete_a_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_delete_all_notification_of_the_given_entity() публичный Метод

public it_delete_all_notification_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_delete_notification_by_categories() публичный Метод

public it_delete_notification_by_categories ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_delete_notification_limiting_the_number_of_the_given_entity() публичный Метод

public it_delete_notification_limiting_the_number_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_find_a_notification_by_id() публичный Метод

public it_find_a_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_get_all_notifications_of_the_given_entity() публичный Метод

public it_get_all_notifications_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo, NotifynderCollection $collection )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB
$collection Fenos\Notifynder\Models\NotifynderCollection

it_get_last_notification_of_the_current_entity() публичный Метод

public it_get_last_notification_of_the_current_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_get_last_notification_of_the_current_entity_filtering_by_category() публичный Метод

public it_get_last_notification_of_the_current_entity_filtering_by_category ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_get_not_read_notification() публичный Метод

public it_get_not_read_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo, NotifynderCollection $collection )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB
$collection Fenos\Notifynder\Models\NotifynderCollection

it_is_initializable() публичный Метод

public it_is_initializable ( )

it_read_all_notification_of_the_given_entity() публичный Метод

public it_read_all_notification_of_the_given_entity ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_read_notifications_limit_to_a_given_number() публичный Метод

public it_read_notifications_limit_to_a_given_number ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_read_one_notification_by_id() публичный Метод

public it_read_one_notification_by_id ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_send_a_single_notification() публичный Метод

public it_send_a_single_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_send_multiple_notification() публичный Метод

public it_send_multiple_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

it_try_to_find_an_inexistent_notification() публичный Метод

public it_try_to_find_an_inexistent_notification ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB

let() публичный Метод

public let ( Fenos\Notifynder\Contracts\NotificationDB $notificationRepo )
$notificationRepo Fenos\Notifynder\Contracts\NotificationDB