/** * Parse the embeds from the query string */ protected function parseEmbeds() { if ($this->query->has('embeds')) { $embeds = explode(',', $this->query->getRaw('embeds')); foreach ($embeds as $embed) { $this->query->addEmbed($this->parseEmbed($embed)); } } }