mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
22 lines
503 B
PHP
22 lines
503 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 Dictionary($data);
|
|
}
|
|
}
|