PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 2.1.7
Backup Migration v2.1.7
2.1.7 2.1.6 2.1.5.2 trunk 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / analyst / src / Contracts / RequestContract.php
backup-backup / analyst / src / Contracts Last commit date
AnalystContract.php 2 weeks ago CacheContract.php 2 weeks ago HttpClientContract.php 2 weeks ago RequestContract.php 2 weeks ago RequestorContract.php 2 weeks ago StorageContract.php 2 weeks ago TrackerContract.php 2 weeks ago
RequestContract.php
23 lines
1 <?php
2
3 namespace Analyst\Contracts;
4
5 use Analyst\ApiResponse;
6
7 interface RequestContract
8 {
9 /**
10 * Cast request data to array
11 *
12 * @return array
13 */
14 public function toArray();
15
16 /**
17 * Execute the request
18 * @param RequestorContract $requestor
19 * @return ApiResponse
20 */
21 public function execute(RequestorContract $requestor);
22 }
23