PluginProbe
Posts Table with Search & Sort / 1.3.8
Posts Table with Search & Sort v1.3.8
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2 1.3 1.3.1 1.3.1-v2 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 All 39 releases
posts-data-table / lib / Service_Provider.php

Service_Provider.php in Posts Table with Search & Sort 1.3.8, at lib/Service_Provider.php

32 lines 602 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Barn2\PTS_Lib;
4
5 /**
6 * An object that provides services (instances of Barn2\PTS_Lib\Service).
7 *
8 * @package Barn2\barn2-lib
9 * @author Barn2 Plugins <support@barn2.com>
10 * @license GPL-3.0
11 * @copyright Barn2 Media Ltd
12 * @version 1.1
13 */
14 interface Service_Provider {
15
16 /**
17 * Get the service for the specified ID.
18 *
19 * @param string $id The service ID
20 * @return Service The service object
21 */
22 public function get_service( $id );
23
24 /**
25 * Get the list of services provided.
26 *
27 * @return array The list of service objects.
28 */
29 public function get_services();
30
31 }
32