| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function create(array $properties) |
||
| 14 | { |
||
| 15 | $packet = $this->_client->getPacket(); |
||
| 16 | $info = $packet->addChild($this->_wrapperTag)->addChild('create'); |
||
| 17 | |||
| 18 | $info->addChild('site-id', $properties['site-id']); |
||
| 19 | $info->addChild('name', $properties['name']); |
||
| 20 | |||
| 21 | $response = $this->_client->request($packet); |
||
| 22 | return new Struct\Info($response); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |