mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
20 lines
585 B
PHP
20 lines
585 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module;
|
|
|
|
/**
|
|
* @phpstan-import-type Service from ServiceModule
|
|
*/
|
|
interface FactoryModule extends \WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module\Module
|
|
{
|
|
/**
|
|
* Return application factories.
|
|
*
|
|
* Similar to `services`, but object created by given factories are not "cached", but a *new*
|
|
* instance is returned everytime `get()` is called in the container.
|
|
*
|
|
* @return array<string, Service>
|
|
*/
|
|
public function factories(): array;
|
|
}
|