di\Instance

Class yii\di\Instance

Inheritance yii\di\Instance
Available since version 2.0
Source Code https://github.com/yiisoft/yii2/blob/master/framework/di/Instance.php

Instance represents a reference to a named object in a dependency injection (DI) container or a service locator.

You may use get() to obtain the actual object referenced by 登录查看完整内容