File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 22
33namespace ApiClients \Foundation ;
44
5+ use ApiClients \Foundation \Resource \ResourceInterface ;
56use Psr \Container \ContainerInterface ;
67use React \Promise \CancellablePromiseInterface ;
78
@@ -22,4 +23,16 @@ public function getFromContainer(string $id);
2223 * @return CancellablePromiseInterface
2324 */
2425 public function handle ($ command ): CancellablePromiseInterface ;
26+
27+ /**
28+ * @param string $resource
29+ * @return CancellablePromiseInterface
30+ */
31+ public function hydrate (string $ resource ): CancellablePromiseInterface ;
32+
33+ /**
34+ * @param ResourceInterface $resource
35+ * @return CancellablePromiseInterface
36+ */
37+ public function extract (ResourceInterface $ resource ): CancellablePromiseInterface ;
2538}
You can’t perform that action at this time.
0 commit comments