[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/beberlei/assert/lib/Assert/ -> InvalidArgumentException.php (summary)

Assert

File Size: 74 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

InvalidArgumentException:: (4 methods):
  __construct()
  getPropertyPath()
  getValue()
  getConstraints()


Class: InvalidArgumentException  - X-Ref

__construct($message, $code, string $propertyPath = null, $value = null, array $constraints = [])   X-Ref


getPropertyPath()   X-Ref
User controlled way to define a sub-property causing
the failure of a currently asserted objects.

Useful to transport information about the nature of the error
back to higher layers.

return: string|null

getValue()   X-Ref
Get the value that caused the assertion to fail.

return: mixed

getConstraints()   X-Ref
Get the constraints that applied to the failed assertion.




Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer