public function boot() { Blade::directive('t', function ($args) { return "<?php echo App::make('translation')->translate{$args}; ?>"; }); }