Go\Instrument\Transformer\ConstructorExecutionTransformer::__call PHP Method

__call() public method

Magic interceptor for instance creation
public __call ( string $className, array $args ) : object
$className string Name of the class to construct
$args array Arguments for the constructor
return object Instance of required object
    public function __call($className, array $args)
    {
        return static::construct($className, $args);
    }