public function __construct($options = []) { $this->sequencer = new Sequencer(); if ($options instanceof PhlackClient) { $this->client = $options; } else { $this->client = new PhlackClient($options); } }