# [YooKassa API SDK](../home.md) # Class: \YooKassa\Model\Notification\NotificationFactory ### Namespace: [\YooKassa\Model\Notification](../namespaces/yookassa-model-notification.md) --- **Summary:** Фабрика для получения конкретного объекта уведомления. --- ### Examples 03-notification.php 3 Пример скрипта обработки уведомления ```php ``` --- ### Constants * No constants found --- ### Methods | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [factory()](../classes/YooKassa-Model-Notification-NotificationFactory.md#method_factory) | | | --- ### Details * File: [lib/Model/Notification/NotificationFactory.php](../../lib/Model/Notification/NotificationFactory.php) * Package: YooKassa * Class Hierarchy: * \YooKassa\Model\Notification\NotificationFactory --- ## Methods #### public factory() : \YooKassa\Model\Notification\AbstractNotification ```php public factory(array $data) : \YooKassa\Model\Notification\AbstractNotification ``` **Details:** * Inherited From: [\YooKassa\Model\Notification\NotificationFactory](../classes/YooKassa-Model-Notification-NotificationFactory.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | array | data | | **Returns:** \YooKassa\Model\Notification\AbstractNotification - --- ### Top Namespaces * [\YooKassa](../namespaces/yookassa.md) --- ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 1](../reports/markers.md) * [Deprecated - 25](../reports/deprecated.md) --- This document was automatically generated from source code comments on 2023-04-06 using [phpDocumentor](http://www.phpdoc.org/) © 2023 YooMoney