protected function addBladeDirectives()
    {
        $this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
            $bladeCompiler->directive('meta', function ($arguments) {
                return "<?php echo Meta::tag($arguments); ?>";
            });

            $bladeCompiler->directive('metas', function ($arguments) {
                return "<?php echo Meta::tags($arguments); ?>";
            });
        });
    }
protected function addBladeDirectives()
    {
        $this->app->afterResolving('blade.compiler', function (BladeCompiler $bladeCompiler) {
            $bladeCompiler->directive('meta', function ($arguments) {
                return "<?php echo Meta::tag($arguments); ?>";
            });

            $bladeCompiler->directive('metas', function ($arguments) {
                return "<?php echo Meta::tags($arguments); ?>";
            });
        });
    }
protected function addBladeDirectives ( ) { $ this -> app -> afterResolving ( 'blade.compiler' , function ( BladeCompiler $ bladeCompiler ) { $ bladeCompiler -> directive ( 'meta' , function ( $ arguments ) { return "<?php echo Meta::tag($arguments); ?>" ; } ) ; $ bladeCompiler -> directive ( 'metas' , function ( $ arguments ) { return "<?php echo Meta::tags($arguments); ?>" ; } ) ; } ) ; }
Register blade directives

@return void
Register blade directives