PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.6
Pods – Custom Content Types and Fields v3.3.6
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / REST / Interfaces / Swagger / Provider_Interface.php
pods / src / Pods / REST / Interfaces / Swagger Last commit date
Builder_Interface.php 4 months ago Provider_Interface.php 4 months ago
Provider_Interface.php
34 lines
1 <?php
2
3 namespace Pods\REST\Interfaces\Swagger;
4
5 // Don't load directly.
6 if ( ! defined( 'ABSPATH' ) ) {
7 die( '-1' );
8 }
9
10 /**
11 * Provider interface.
12 *
13 * @credit The Events Calendar team - https://github.com/the-events-calendar/tribe-common
14 *
15 * @since 3.0
16 */
17 interface Provider_Interface {
18 /**
19 * Returns an array in the format used by Swagger 2.0.
20 *
21 * While the structure must conform to that used by v2.0 of Swagger the structure can be that of a full document
22 * or that of a document part.
23 * The intelligence lies in the "gatherer" of information rather than in the single "providers" implementing this
24 * interface.
25 *
26 * @link http://swagger.io/
27 *
28 * @since 3.0
29 *
30 * @return array An array description of a Swagger supported component.
31 */
32 public function get_documentation();
33 }
34