Closed amaan-lob closed 3 years ago
@amaan-lob Quick question, Does this have to be called with another array function? $this->intlAddress is already a variable that is created with an array function right? So could it just not be
'addresses' => $this->intlAddress
?Double checking before I can use it in docs.
@vmangwani Arrays are actually maps in PHP but they can also be treated as regular arrays, per these docs. So we use the array function with $this->intlAddress
to define a map, and wrap it in another array function when setting it to the addresses
property to set it as a regular array. You can also see this in the docs for PHP that we use the array function to define the payload.
Got it. Thanks for confirming. LGTM
What Adds support to Lob's Elixir library to verify a list of US or International addresses.