public function set(array $data)
    {
        foreach ($data as $name => $value) {
            $this->setField($name, $value);
        }
    }
public function set(array $data)
    {
        foreach ($data as $name => $value) {
            $this->setField($name, $value);
        }
    }
public function set ( array $ data ) { foreach ( $ data as $ name => $ value ) { $ this -> setField ( $ name , $ value ) ; } }
Validating array and setting variables to current operations

@uses \Lazer\Classes\Database::setField() to set field value
@param array $data key value pair
@throws LazerException
Validating array and setting variables to current operations