Base.php 323 B

1234567891011121314151617181920
  1. <?php
  2. namespace Thrift\Service;
  3. use Dever;
  4. class Base
  5. {
  6. public $type;
  7. public $host;
  8. public $port;
  9. public $process;
  10. public function __construct($type = 'socket', $host = '0.0.0.0', $port = 8080, $process = 10)
  11. {
  12. $this->type = $type;
  13. $this->host = $host;
  14. $this->port = $port;
  15. $this->process = $process;
  16. }
  17. }