We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d02dbd0 commit ac19086Copy full SHA for ac19086
1 file changed
Atomx/Resources/Domain.php
@@ -0,0 +1,29 @@
1
+<?php namespace Atomx\Resources;
2
+
3
+use Atomx\AtomxClient;
4
+use InvalidArgumentException;
5
6
+class Domain extends AtomxClient {
7
+ protected $endpoint = 'domain';
8
9
+ public function setLanguage($lan = 'en')
10
+ {
11
+ if(empty($lan)) $lan = 'en';
12
+ $this->language_id = $lan;
13
+ }
14
15
+ public function setCategory($cat = 0)
16
17
+ if(empty($cat)) $cat = 0;
18
+ $this->category = $cat;
19
20
21
+ public function setAttributes($att = [])
22
23
+ if(!isset($att)) $att = [];
24
+ $this->attributes = $att;
25
26
27
28
29
+}
0 commit comments