public function forgetMetaData($key): void
    {
        $meta = $this->getAttribute('meta');

        if (\is_array($key)) {
            foreach ($key as $name) {
                $meta->forget($name);
            }
        } else {
            $meta->forget($key);
        }

        $this->setMetaAttribute($meta);
    }
public function forgetMetaData($key): void
    {
        $meta = $this->getAttribute('meta');

        if (\is_array($key)) {
            foreach ($key as $name) {
                $meta->forget($name);
            }
        } else {
            $meta->forget($key);
        }

        $this->setMetaAttribute($meta);
    }
public function forgetMetaData ( $ key ) : void { $ meta = $ this -> getAttribute ( 'meta' ) ; if ( \ is_array ( $ key ) ) { foreach ( $ key as $ name ) { $ meta -> forget ( $ name ) ; } } else { $ meta -> forget ( $ key ) ; } $ this -> setMetaAttribute ( $ meta ) ; }
Forget meta data.

@param  string|array  $key

@return void
Forget meta data .