Client.php 237 B

123456789101112131415161718
  1. <?php
  2. namespace Qiniu\Pili;
  3. class Client
  4. {
  5. private $_mac;
  6. public function __construct($mac)
  7. {
  8. $this->_mac=$mac;
  9. }
  10. public function hub($hubname)
  11. {
  12. return new Hub($this->_mac, $hubname);
  13. }
  14. }