yii\base\InvalidParamException - Yii2 类参考手册

Class yii\base\InvalidParamException

Inheritanceyii\base\InvalidParamException » BadMethodCallException
Subclassesyii\base\InvalidArgumentException, yii\base\ViewNotFoundException
Available since version2.0
Deprecated since version since 2.0.14. Use [[InvalidArgumentException]] instead.

InvalidParamException represents an exception caused by invalid parameters passed to a method.

Public Methods

隐藏继承的方法 Hide inherited methods

方法 Method简介 Description定义在 Defined By
getName() yii\base\InvalidParamException

方法详情 Method Details

getName() public method

public string getName ( )
return string

The user-friendly name of this exception