| 1 | <?php |
||
| 6 | class Link extends Base |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Private constructor so only the client can create this |
||
| 10 | * @param Client $client |
||
| 11 | */ |
||
| 12 | 16 | public function __construct(Client $client) |
|
| 17 | |||
| 18 | /** |
||
| 19 | * retreive a link |
||
| 20 | * @param int link id |
||
| 21 | * @return object Result of the request |
||
| 22 | */ |
||
| 23 | public function Get($linkId) |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * retreive a link |
||
| 31 | * @param int link id |
||
| 32 | * @return object Result of the request |
||
| 33 | */ |
||
| 34 | public function Create($link) |
||
| 38 | } |
||
| 39 |