From acf10e92b4d79f1c304e412a9dd914b851057710 Mon Sep 17 00:00:00 2001 From: Loann Meignant Date: Fri, 10 Apr 2020 13:13:13 +0200 Subject: [PATCH] Modifying readme --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c68b0a5..149f8c3 100644 --- a/README.md +++ b/README.md @@ -46,26 +46,26 @@ BMAIL_API_URL=the_api_url ```bash $template = (new BMailTemplate("** template_id **")) - ->sender("john.doe@gmail.com", 'John OPTIONNAL') OPTIONNAL - ->replyTo("jean.grey@gmail.com", 'Jean OPTIONNAL') OPTIONNAL + ->sender("john.doe@gmail.com", "John OPTIONNAL") OPTIONNAL + ->replyTo("jean.grey@gmail.com", "Jean OPTIONNAL") OPTIONNAL ->recipients([ [ - 'elvis@gmail.com', [ - 'name' => 'Elvis' OPTIONNAL, - 'parameters' => ['key' => 'value'] OPTIONNAL + "elvis@gmail.com", [ + "name" => "Elvis" OPTIONNAL, + "parameters" => ["key" => "value"] OPTIONNAL ] ], [ - 'robert@gmail.com' + "robert@gmail.com" ] ]) - ->addRecipient('edward@gmail.com') - ->parameters(['key1' => 'value1', 'key2' => 'value2']) - ->addParameter('key', 'value'); + ->addRecipient("edward@gmail.com") + ->parameters(["key1" => "value1", "key2" => "value2"]) + ->addParameter("key", "value"); ``` ```bash -return (new BMailApi(config('bmail.api_key')))->send($template); +return (new BMailApi(config("bmail.api_key")))->send($template); ```