File "DictionaryFactory.php"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DictionaryFactory.php
File size: 503 bytes
MIME-type: text/x-php
Charset: utf-8
<?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);
}
}