[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/ -> Capability.php (source)

   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  }


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref