protected function getUnsettedKeys()
    {
        $unsettedKeys = [];

        foreach ($this->_originalAttributes as $key=>$value) {

            if (!array_key_exists($key, $this->_attributes)) {
                $unsettedKeys[] = $key;
                continue;
            }
        }

        return $unsettedKeys;
    }
protected function getUnsettedKeys()
    {
        $unsettedKeys = [];

        foreach ($this->_originalAttributes as $key=>$value) {

            if (!array_key_exists($key, $this->_attributes)) {
                $unsettedKeys[] = $key;
                continue;
            }
        }

        return $unsettedKeys;
    }
protected function getUnsettedKeys ( ) { $ unsettedKeys = [ ] ; foreach ( $ this -> _originalAttributes as $ key => $ value ) { if ( ! array_key_exists ( $ key , $ this -> _attributes ) ) { $ unsettedKeys [ ] = $ key ; continue ; } } return $ unsettedKeys ; }
Return all unsetted keys. You could set them all to zero in storage.

@return array
Return all unsetted keys . You could set them all to zero in storage .