mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-28 03:09:16 +08:00
20 lines
552 B
PHP
20 lines
552 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace WooCommerce\PayPalCommerce\Vendor\Dhii\Container;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Dhii\Collection\WritableMapFactoryInterface;
|
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
class DictionaryFactory implements WritableMapFactoryInterface
|
|
{
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function createContainerFromArray(array $data): ContainerInterface
|
|
{
|
|
return new \WooCommerce\PayPalCommerce\Vendor\Dhii\Container\Dictionary($data);
|
|
}
|
|
}
|