Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/giriqfky/chahida.co.in/wp-content/plugins/woocommerce/src/Blocks/Registry//SharedType.php
<?php
namespace Automattic\WooCommerce\Blocks\Registry;
/**
* A definition for the SharedType dependency type.
*
* @since 2.5.0
*/
class SharedType extends AbstractDependencyType {
/**
* Holds a cached instance of the value stored (or returned) internally.
*
* @var mixed
*/
private $shared_instance;
/**
* Returns the internal stored and shared value after initial generation.
*
* @param Container $container An instance of the dependency injection
* container.
*
* @return mixed
*/
public function get( Container $container ) {
if ( empty( $this->shared_instance ) ) {
$this->shared_instance = $this->resolve_value( $container );
}
return $this->shared_instance;
}
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | July 10 2025 04:32:19 | giriqfky / giriqfky | 0755 | |
| | | | | |
.htaccess | 0.41 KB | July 10 2025 04:32:19 | giriqfky / giriqfky | 0644 | |
AbstractDependencyType.php | 1.236 KB | December 27 2023 00:45:02 | giriqfky / giriqfky | 0644 | |
Container.php | 3.021 KB | December 27 2023 00:45:02 | giriqfky / giriqfky | 0644 | |
FactoryType.php | 0.493 KB | December 27 2023 00:45:02 | giriqfky / giriqfky | 0644 | |
SharedType.php | 0.723 KB | December 27 2023 00:45:02 | giriqfky / giriqfky | 0644 | |