You appear to be a bot. Output may be restricted
Description
Allow calling protected methods from tests
Usage
$mixed = Spy_REST_Server::__call( $method, $args );
Parameters
- $method
- ( string ) required – Method to call
- $args
- ( array ) required – Arguments to pass to the method
Returns
mixed
Source
File name: wordpress-develop-tests/phpunit/includes/spy-rest-server.php
Lines:
1 to 4 of 4
public function __call( $method, $args ) { return call_user_func_array( array( $this, $method ), $args ); }