Example #1
0
 /**
  * Sets the client.
  *
  * @param  Client|string $pClient
  * @return Server        $this
  */
 public function setClient($pClient)
 {
     if (is_string($pClient)) {
         $pClient = new $pClient($this);
     }
     $this->client = $pClient;
     $this->client->setupFormats();
     return $this;
 }