LaravelFCM\Sender\FCMGroup::getNotificationToken PHP Method

getNotificationToken() private method

private getNotificationToken ( Response $response ) : null
$response GuzzleHttp\Psr7\Response
return null
    private function getNotificationToken(GuzzleResponse $response)
    {
        if ($this->isValidResponse($response)) {
            return null;
        }
        $json = json_decode($response->getBody(), true);
        return $json['notification_key'];
    }