public function getClient() { if ($this->_client === null) { $this->_client = new \PHP_GCM\Sender($this->apiKey); } return $this->_client; }