public function getSeoTags() {
        if($this->owner->seo) {
            $seo = $this->owner->seo->attributes;
            return array_filter(array_intersect_key($seo, array_flip(['meta_title', 'meta_keywords', 'meta_description'])));
        } else {
            return [];
        }
    }
public function getSeoTags() {
        if($this->owner->seo) {
            $seo = $this->owner->seo->attributes;
            return array_filter(array_intersect_key($seo, array_flip(['meta_title', 'meta_keywords', 'meta_description'])));
        } else {
            return [];
        }
    }
public function getSeoTags ( ) { if ( $ this -> owner -> seo ) { $ seo = $ this -> owner -> seo -> attributes ; return array_filter ( array_intersect_key ( $ seo , array_flip ( [ 'meta_title' , 'meta_keywords' , 'meta_description' ] ) ) ) ; } else { return [ ] ; } }
Get the seo tags as an array

@return string
Get the seo tags as an array