public function getEmbedsAttribute()
    {
        $embeds = new Collection();

        foreach ($this->attributes['embeds'] as $embed) {
            $embeds->push($this->factory->create(Embed::class, $embed, true));
        }

        return $embeds;
    }
public function getEmbedsAttribute()
    {
        $embeds = new Collection();

        foreach ($this->attributes['embeds'] as $embed) {
            $embeds->push($this->factory->create(Embed::class, $embed, true));
        }

        return $embeds;
    }
public function getEmbedsAttribute ( ) { $ embeds = new Collection ( ) ; foreach ( $ this -> attributes [ 'embeds' ] as $ embed ) { $ embeds -> push ( $ this -> factory -> create ( Embed :: class , $ embed , true ) ) ; } return $ embeds ; }
Returns the embed attribute.

@return Collection A collection of embeds.
Returns the embed attribute .