method
public
Pusher::push()
Сигнатура
public push(ProviderCollection $providers) : void
Параметры
$providers
ProviderCollection
Возвращаемое значение
void
Как применяется в Pusher
Pusher::push() — метод класса \Bitrix\Tasks\Internals\Notification\Pusher модуля «Задачи».
Метод объекта: сначала нужен экземпляр Pusher.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Notification\Pusher;
Loader::includeModule('tasks');
/** @var Pusher $object */
$providers = null; // ProviderCollection
$object->push($providers);Другие методы Pusher
push() есть и у других классов модуля «Задачи»: Controller, EventCollection, PusherInterface.
Исходный файл: source/tasks/lib/internals/notification/pusher.php:11

