protected function mergeReplacements(array $replacements)
    {
        return $this->getShortcodes()
            ->transform(function ($key) use ($replacements) {
                return Arr::get($replacements, $key);
            })
            ->filter();
    }
protected function mergeReplacements(array $replacements)
    {
        return $this->getShortcodes()
            ->transform(function ($key) use ($replacements) {
                return Arr::get($replacements, $key);
            })
            ->filter();
    }
protected function mergeReplacements ( array $ replacements ) { return $ this -> getShortcodes ( ) -> transform ( function ( $ key ) use ( $ replacements ) { return Arr :: get ( $ replacements , $ key ) ; } ) -> filter ( ) ; }
Merge replacements.

@param  array  $replacements

@return \Illuminate\Support\Collection
Merge replacements .