public function mergeWithParams(array $params)
    {
        // merge the passed properties with the default settings for the stateful session beans
        foreach (array_keys(get_object_vars($this)) as $propertyName) {
            if (array_key_exists($propertyName, $params)) {
                $this->$propertyName = $params[$propertyName];
            }
        }
    }
public function mergeWithParams(array $params)
    {
        // merge the passed properties with the default settings for the stateful session beans
        foreach (array_keys(get_object_vars($this)) as $propertyName) {
            if (array_key_exists($propertyName, $params)) {
                $this->$propertyName = $params[$propertyName];
            }
        }
    }
public function mergeWithParams ( array $ params ) { // merge the passed properties with the default settings for the stateful session beans foreach ( array_keys ( get_object_vars ( $ this ) ) as $ propertyName ) { if ( array_key_exists ( $ propertyName , $ params ) ) { $ this -> $ propertyName = $ params [ $ propertyName ] ; } } }
Merge the passed params with the default settings.

@param array $params The associative array with the params to merge

@return void
Merge the passed params with the default settings .