bryglen\apnsgcm\Gcm::getClient PHP Method

getClient() public method

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