[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Exception/ -> InvalidArgument.php (summary)

Exception for an invalid argument passed.

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

Defines 1 function

  create()

Functions
Functions that are not part of a class:

create($position, $name, $expected, $received)   X-Ref
Create a new invalid argument exception with a standardized text.

return: \WpOrg\Requests\Exception\InvalidArgument
param: int    $position The argument position in the function signature. 1-based.
param: string $name     The argument name in the function signature.
param: string $expected The argument type expected as a string.
param: string $received The actual argument type received.



Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref