Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am johnhunt on github.
* I am johnhunt (https://keybase.io/johnhunt) on keybase.
* I have a public key whose fingerprint is D6A1 F2E5 6F32 4D8B FCC8 E326 7927 CE77 4833 F2F6
To claim this, I am signing this object:
<?php
/**
* Method to quickly set many properties at once from an array
*
* Checks to see if property exists on the class, if so sets it to the value
* defined in the array.
*
* @param array $data
*/
public function exchangeArray(Array $data){