src/Mappable.php
protected function forget($key)
    {
        $mapping = $this->getMappingForAttribute($key);

        list($target, $attribute) = $this->parseMappedColumn($mapping);

        $target = $target ? $this->getTarget($this, explode('.', $target)) : $this;

        unset($target->{$attribute});
    }
protected function forget($key)
    {
        $mapping = $this->getMappingForAttribute($key);

        list($target, $attribute) = $this->parseMappedColumn($mapping);

        $target = $target ? $this->getTarget($this, explode('.', $target)) : $this;

        unset($target->{$attribute});
    }
protected function forget ( $ key ) { $ mapping = $ this -> getMappingForAttribute ( $ key ) ; list ( $ target , $ attribute ) = $ this -> parseMappedColumn ( $ mapping ) ; $ target = $ target ? $ this -> getTarget ( $ this , explode ( '.' , $ target ) ) : $ this ; unset ( $ target -> { $ attribute } ) ; }
Unset mapped attribute.

@param  string $key
@return void
Unset mapped attribute .