Skip to content
PHP Ecosystem
Explore

InvalidArgumentException

API reference › yii › base › InvalidArgumentException

classyii\base\InvalidArgumentException
ExtendsBadMethodCallException
Since2.0.14
Sourceframework/base/InvalidArgumentException.php
1 subclass

InvalidArgumentException represents an exception caused by invalid arguments passed to a method.

MethodDescriptionDefined by
getName()InvalidArgumentException
public function getName(): string

Returns

string: The user-friendly name of this exception