Documentation

InstantiatorInterface

Instantiator provides utility methods to build objects without invoking their constructors

Table of Contents

instantiate()  : object

Methods

instantiate()

public instantiate(string $className) : object
Parameters
$className : string
Tags
phpstan-param

class-string<T> $className

phpstan-return

T

throws
ExceptionInterface
template

T of object

Return values
object

Search results