• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/notification/controller.php
  • Класс: BitrixTasksInternalsNotificationController
  • Вызов: Controller::__construct
public function __construct(
	?PusherInterface $pusher = null,
	?BufferInterface $buffer = null,
	?UserRepositoryInterface $userRepository = null
)
{
	$this->buffer = $buffer ?? InMemoryBuffer::getInstance();
	$this->pusher = $pusher ?? new Pusher();
	$this->userRepository = $userRepository ?? new UserRepository();
}