Wow, I noticed my mistake while reading over the posted question. I had mixed up the content tags while switching from
Blade::setContentTags('{{', '}}', true);
Blade::setContentTags('{{{', '}}}', false);
to
Blade::setContentTags('{{', '}}');
Blade::setEscapedContentTags('{{{', '}}}');
But I guess the question still stands. I can extract these out to specific methods like
public function boot()
{
$this->setContentTags();
$this->setViewShares();
//other boot stuff ...
}
So I guess this is the best place to put things now?