1 | <?php |
||
9 | class ChannelBuilder extends ModelBuilder |
||
10 | { |
||
11 | /** |
||
12 | * @param string $teamId |
||
13 | * |
||
14 | * @return $this |
||
15 | */ |
||
16 | 2 | public function setTeamId($teamId) |
|
22 | |||
23 | /** |
||
24 | * @param string $name |
||
25 | * |
||
26 | * @return $this |
||
27 | */ |
||
28 | 2 | public function setName($name) |
|
34 | |||
35 | /** |
||
36 | * @param string $displayName |
||
37 | * |
||
38 | * @return $this |
||
39 | */ |
||
40 | 2 | public function setDisplayName($displayName) |
|
46 | |||
47 | /** |
||
48 | * @param string $purpose |
||
49 | * |
||
50 | * @return $this |
||
51 | */ |
||
52 | 1 | public function setPurpose($purpose) |
|
53 | { |
||
54 | 1 | $this->params['purpose'] = $purpose; |
|
55 | |||
56 | 1 | return $this; |
|
57 | } |
||
58 | |||
59 | /** |
||
60 | * @param string $header |
||
61 | * |
||
62 | * @return $this |
||
63 | */ |
||
64 | 1 | public function setHeader($header) |
|
65 | { |
||
66 | 1 | $this->params['header'] = $header; |
|
67 | |||
68 | 1 | return $this; |
|
69 | } |
||
70 | |||
71 | /** |
||
72 | * @param string $type |
||
73 | * |
||
74 | * @return $this |
||
75 | */ |
||
76 | 2 | public function setType($type) |
|
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | 5 | protected function getRequiredFields($buildType = self::BUILD_FOR_CREATE) |
|
104 | } |
||
105 |