DynamicActiveRecord.php
public function unsetAttribute($name)
    {
        try {
            parent::__unset($name);
        } catch (\Exception $ignore) {
        }

        if ($this->issetAttribute($name)) {
            $this->setAttribute($name, null);
        }
    }
public function unsetAttribute($name)
    {
        try {
            parent::__unset($name);
        } catch (\Exception $ignore) {
        }

        if ($this->issetAttribute($name)) {
            $this->setAttribute($name, null);
        }
    }
public function unsetAttribute ( $ name ) { try { parent :: __unset ( $ name ) ; } catch ( \ Exception $ ignore ) { } if ( $ this -> issetAttribute ( $ name ) ) { $ this -> setAttribute ( $ name , null ) ; } }
Unset a model attribute.

@param string $name attribute name, use dotted notation for structured attributes.
Unset a model attribute .