src/Neobazaar/Entity/MappedSuperclassBase.php
public function exchangeArray($data)
    {
        foreach($data as $prop => $value) {
            $methodName = 'set' . ucfirst($prop);
            if(method_exists ($this, $methodName)) {
                call_user_func(array($this, $methodName), $value);
            }
        }
    }
public function exchangeArray($data)
    {
        foreach($data as $prop => $value) {
            $methodName = 'set' . ucfirst($prop);
            if(method_exists ($this, $methodName)) {
                call_user_func(array($this, $methodName), $value);
            }
        }
    }
public function exchangeArray ( $ data ) { foreach ( $ data as $ prop => $ value ) { $ methodName = 'set' . ucfirst ( $ prop ) ; if ( method_exists ( $ this , $ methodName ) ) { call_user_func ( array ( $ this , $ methodName ) , $ value ) ; } } }
Exchange array - used in ZF2 form

@param array $data An array of data
Exchange array - used in ZF2 form