1 | <?php |
||
8 | class StitchDataSender |
||
9 | { |
||
10 | |||
11 | private $accessToken = null; |
||
12 | private $clientID = null; |
||
13 | private $tableName = null; |
||
14 | |||
15 | public function __construct() |
||
25 | |||
26 | /** |
||
27 | * Set the client ID of your StitchData account. |
||
28 | * @return $this, for use with fluent syntax |
||
|
|||
29 | */ |
||
30 | public function setClientID($clientID) |
||
35 | |||
36 | /** |
||
37 | * Set the access token for the StitchData Import API |
||
38 | * @return $this, for use with fluent syntax |
||
39 | */ |
||
40 | public function setAccessToken($accessToken) |
||
45 | |||
46 | /** |
||
47 | * Set the table name to write packages to |
||
48 | * @return $this, for use with fluent syntax |
||
49 | */ |
||
50 | public function setTableName($tableName) |
||
55 | |||
56 | /** |
||
57 | * Get the client ID of your StitchData account. |
||
58 | * @return string |
||
59 | */ |
||
60 | public function getClientID() |
||
64 | |||
65 | /** |
||
66 | * Get the access token for the StitchData Import API |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getAccessToken() |
||
73 | |||
74 | /** |
||
75 | * Get the table name to write packages to |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getTableName() |
||
82 | |||
83 | /** |
||
84 | * Send the given package to the StitchData API |
||
85 | */ |
||
86 | public function sendAddon(Addon $package) |
||
103 | |||
104 | public function addonToJson(Addon $package) |
||
167 | } |
||
168 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.