Changeset 52244 for trunk/src/wp-includes/Requests/Proxy.php
- Timestamp:
- 11/25/2021 01:10:30 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/Requests/Proxy.php
r50842 r52244 3 3 * Proxy connection interface 4 4 * 5 * @package Requests 6 * @subpackage Proxy 7 * @since 1.6 5 * @package Requests\Proxy 6 * @since 1.6 8 7 */ 8 9 namespace WpOrg\Requests; 10 11 use WpOrg\Requests\Hooks; 9 12 10 13 /** … … 16 19 * makes it much easier for users to use your provider. 17 20 * 18 * @see Requests_Hooks19 * @package Requests20 * @ subpackageProxy21 * @since 1.621 * @see \WpOrg\Requests\Hooks 22 * 23 * @package Requests\Proxy 24 * @since 1.6 22 25 */ 23 interface Requests_Proxy {26 interface Proxy { 24 27 /** 25 28 * Register hooks as needed 26 29 * 27 * This method is called in {@see Requests::request} when the user has set28 * an instance as the 'auth' option. Use this callback to register all the30 * This method is called in {@see \WpOrg\Requests\Requests::request()} when the user 31 * has set an instance as the 'auth' option. Use this callback to register all the 29 32 * hooks you'll need. 30 33 * 31 * @see Requests_Hooks::register32 * @param Requests_Hooks $hooks Hook system34 * @see \WpOrg\Requests\Hooks::register() 35 * @param \WpOrg\Requests\Hooks $hooks Hook system 33 36 */ 34 public function register( Requests_Hooks $hooks);37 public function register(Hooks $hooks); 35 38 }
Note: See TracChangeset
for help on using the changeset viewer.