app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        Blade::directive('hello', function ($expression) {
            return $expression;
        });
    }
public function boot ( ) { Blade :: directive ( 'hello' , function ( $ expression ) { return $ expression ; } ) ; }
Bootstrap any application services.
Bootstrap any application services .