File manager - Edit - /home/adiance/public_html/wp-content/plugins/amp/src/Infrastructure/Instantiator.php
Back
<?php /** * Interface Instantiator. * * @package AmpProject\AmpWP */ namespace AmpProject\AmpWP\Infrastructure; /** * Interface to make the act of instantiation extensible/replaceable. * * This way, a more elaborate mechanism can be plugged in, like using * ProxyManager to instantiate proxies instead of actual objects. * * @since 2.0 * @internal */ interface Instantiator { /** * Make an object instance out of an interface or class. * * @param string $class Class to make an object instance out of. * @param array $dependencies Optional. Dependencies of the class. * @return object Instantiated object. */ public function instantiate( $class, $dependencies = [] ); }
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings