wp/wp-includes/Requests/src/Capability.php
changeset 21 48c4eec2b7e6
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
       
     1 <?php
       
     2 /**
       
     3  * Capability interface declaring the known capabilities.
       
     4  *
       
     5  * @package Requests\Utilities
       
     6  */
       
     7 
       
     8 namespace WpOrg\Requests;
       
     9 
       
    10 /**
       
    11  * Capability interface declaring the known capabilities.
       
    12  *
       
    13  * This is used as the authoritative source for which capabilities can be queried.
       
    14  *
       
    15  * @package Requests\Utilities
       
    16  */
       
    17 interface Capability {
       
    18 
       
    19 	/**
       
    20 	 * Support for SSL.
       
    21 	 *
       
    22 	 * @var string
       
    23 	 */
       
    24 	const SSL = 'ssl';
       
    25 
       
    26 	/**
       
    27 	 * Collection of all capabilities supported in Requests.
       
    28 	 *
       
    29 	 * Note: this does not automatically mean that the capability will be supported for your chosen transport!
       
    30 	 *
       
    31 	 * @var string[]
       
    32 	 */
       
    33 	const ALL = [
       
    34 		self::SSL,
       
    35 	];
       
    36 }