yii\di\NotInstantiableException - Yii2 类参考手册
Class yii\di\NotInstantiableException
全部
| 方法 Methods
| Inheritance | yii\di\NotInstantiableException » yii\base\InvalidConfigException » yii\base\Exception » Exception |
|---|---|
| Available since version | 2.0.9 |
NotInstantiableException represents an exception caused by incorrect dependency injection container configuration or usage.
Public Methods
隐藏继承的方法 Hide inherited methods
| 方法 Method | 简介 Description | 定义在 Defined By |
|---|---|---|
| __construct() | yii\di\NotInstantiableException | |
| getName() | yii\di\NotInstantiableException |
方法详情 Method Details
| public void __construct ( $class, $message = null, $code = 0, Exception $previous = null ) | ||
| $class | ||
| $message | ||
| $code | ||
| $previous | ||
| public string getName ( ) | ||
| return | string | The user-friendly name of this exception |
|---|---|---|