Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 44a96d9

Browse files
DIOHz0rajsb85
authored andcommitted
feat(item): added client shortcut function
1 parent 8394edf commit 44a96d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Glpi/Api/Rest/ItemHandler.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ public function __construct(Client $client) {
4040
$this->client = $client;
4141
}
4242

43+
/**
44+
* @return Client
45+
*/
46+
public function getClient() {
47+
return $this->client;
48+
}
49+
4350
/**
4451
* Return the instance fields of itemtype identified by id.
4552
* @param string $itemType

0 commit comments

Comments
 (0)