private function getMutableAttributes($model)
    {
        $attrs = get_object_vars($model);
        unset($attrs[$this->key]);
        
        // remove reference attributes, if any
        if ($model instanceof ManagedModelInterface) {
            foreach (array_keys($model->getReferences()) as $ref) {
                unset($attrs[$ref]);
            }
        }
        
        return $attrs;
    }
private function getMutableAttributes($model)
    {
        $attrs = get_object_vars($model);
        unset($attrs[$this->key]);
        
        // remove reference attributes, if any
        if ($model instanceof ManagedModelInterface) {
            foreach (array_keys($model->getReferences()) as $ref) {
                unset($attrs[$ref]);
            }
        }
        
        return $attrs;
    }
private function getMutableAttributes ( $ model ) { $ attrs = get_object_vars ( $ model ) ; unset ( $ attrs [ $ this -> key ] ) ; // remove reference attributes, if any if ( $ model instanceof ManagedModelInterface ) { foreach ( array_keys ( $ model -> getReferences ( ) ) as $ ref ) { unset ( $ attrs [ $ ref ] ) ; } } return $ attrs ; }
Get mutable model attributes.

@param object $model Model instance.

@return array        Array of attributes.
Get mutable model attributes .