WPDev.one
Core Class

ArgumentCount

class ArgumentCount // Constructor: function Object() { [native code] }

Exception for when an incorrect number of arguments are passed to a method.

Methods 1 methods

Method / Return Description
create()
\WpOrg\Requests\Exception\ArgumentCount

Create a new argument count exception with a standardized text.

Parameters: $expected: mixed, $received: mixed, $type: mixed

Class Information

Since Version
2.0.0
Source File
wp-includes/Requests/src/Exception/ArgumentCount.php
Advertisement