protected function setKeysInEnvironmentFile($keys)
    {
        $currentKeys = $this->laravel['config']['webpush.vapid'];

        if (strlen($currentKeys['public_key']) !== 0 && (! $this->confirmToProceed())) {
            return false;
        }

        $this->writeNewEnvironmentFileWith($keys);

        return true;
    }
protected function setKeysInEnvironmentFile($keys)
    {
        $currentKeys = $this->laravel['config']['webpush.vapid'];

        if (strlen($currentKeys['public_key']) !== 0 && (! $this->confirmToProceed())) {
            return false;
        }

        $this->writeNewEnvironmentFileWith($keys);

        return true;
    }
protected function setKeysInEnvironmentFile ( $ keys ) { $ currentKeys = $ this -> laravel [ 'config' ] [ 'webpush.vapid' ] ; if ( strlen ( $ currentKeys [ 'public_key' ] ) !== 0 && ( ! $ this -> confirmToProceed ( ) ) ) { return false ; } $ this -> writeNewEnvironmentFileWith ( $ keys ) ; return true ; }
Set the keys in the environment file.

@param  array $keys
@return bool
Set the keys in the environment file .