PHP 8.0.30
Preview: FactoryType.php Size: 505 B
/home/certprox/zang.certproxywizard.com/wp/wp-content/plugins/woocommerce/src/Blocks/Registry/FactoryType.php

<?php
namespace Automattic\WooCommerce\Blocks\Registry;

/**
 * Definition for the FactoryType dependency type.
 *
 * @since 2.5.0
 */
class FactoryType extends AbstractDependencyType {
	/**
	 * Invokes and returns the value from the stored internal callback.
	 *
	 * @param Container $container  An instance of the dependency injection
	 *                              container.
	 *
	 * @return mixed
	 */
	public function get( Container $container ) {
		return $this->resolve_value( $container );
	}
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
1.24 KB lrw-r--r-- 2026-03-30 10:22:46
Edit Download
3.02 KB lrw-r--r-- 2026-03-30 10:22:46
Edit Download
505 B lrw-r--r-- 2026-03-30 10:22:46
Edit Download
740 B lrw-r--r-- 2026-03-30 10:22:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).