[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Exception for when an incorrect number of arguments are passed to a method. Typically, this exception is used when all arguments for a method are optional, but certain arguments need to be passed together, i.e. a method which can be called with no arguments or with two arguments, but not with one argument.
File Size: | 47 lines (1 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
create($expected, $received, $type) X-Ref |
Create a new argument count exception with a standardized text. return: \WpOrg\Requests\Exception\ArgumentCount param: string $expected The argument count expected as a phrase. param: int $received The actual argument count received. param: string $type Exception type. |
Generated : Sat Nov 23 08:20:01 2024 | Cross-referenced by PHPXref |