interface InstantiatorInterface
Same name in this branch
- 11.1.x vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface
Instantiator provides utility methods to build objects without invoking their constructors
Hierarchy
- interface \Doctrine\Instantiator\InstantiatorInterface
Expanded class hierarchy of InstantiatorInterface
All classes that implement InstantiatorInterface
File
-
vendor/
doctrine/ instantiator/ src/ Doctrine/ Instantiator/ InstantiatorInterface.php, line 12
Namespace
Doctrine\InstantiatorView source
interface InstantiatorInterface {
/**
* @phpstan-param class-string<T> $className
*
* @phpstan-return T
*
* @throws ExceptionInterface
*
* @template T of object
*/
public function instantiate(string $className) : object;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
InstantiatorInterface::instantiate | public | function | @phpstan-param class-string<T> $className | 1 |