public function __construct($loop) { $this->port = Config::CONTROL_PORT; $this->ip = Config::DRONE_IP; $this->loop = $loop; $this->start(); }