InvalidArgumentException.php 565 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\base;
  8. /**
  9. * InvalidArgumentException represents an exception caused by invalid arguments passed to a method.
  10. *
  11. * @author Qiang Xue <qiang.xue@gmail.com>
  12. * @since 2.0.14
  13. */
  14. class InvalidArgumentException extends InvalidParamException
  15. {
  16. /**
  17. * @return string the user-friendly name of this exception
  18. */
  19. public function getName()
  20. {
  21. return 'Invalid Argument';
  22. }
  23. }