public function registerNotificationDirectives()
    {
        Blade::directive('eyewitness_error', function($message) {
            return $this->baseNotification($message, 'bg-red', 'bold-remove', 'svgcolor-red');
        });

        Blade::directive('eyewitness_success', function($message) {
            return $this->baseNotification($message, 'bg-green', 'check-simple', 'svgcolor-green');
        });

        Blade::directive('eyewitness_warning', function($message) {
            return $this->baseNotification($message, 'bg-orange', 'alert-exc', 'svgcolor-orange');
        });

        Blade::directive('eyewitness_info', function($message) {
            return $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue');
        });

        Blade::directive('eyewitness_error_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-red', 'bold-remove', 'svgcolor-red', false);
        });

        Blade::directive('eyewitness_success_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-green', 'check-simple', 'svgcolor-green', false);
        });

        Blade::directive('eyewitness_warning_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-orange', 'alert-exc', 'svgcolor-orange', false);
        });

        Blade::directive('eyewitness_info_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue', false);
        });

        Blade::directive('eyewitness_tutorial', function($message) {
            $s = "<?php if (config('eyewitness.display_helpers', true)): ?>";
            $s .=  $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue');
            $s .= "<?php endif; ?>";
            return $s;
        });
    }
public function registerNotificationDirectives()
    {
        Blade::directive('eyewitness_error', function($message) {
            return $this->baseNotification($message, 'bg-red', 'bold-remove', 'svgcolor-red');
        });

        Blade::directive('eyewitness_success', function($message) {
            return $this->baseNotification($message, 'bg-green', 'check-simple', 'svgcolor-green');
        });

        Blade::directive('eyewitness_warning', function($message) {
            return $this->baseNotification($message, 'bg-orange', 'alert-exc', 'svgcolor-orange');
        });

        Blade::directive('eyewitness_info', function($message) {
            return $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue');
        });

        Blade::directive('eyewitness_error_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-red', 'bold-remove', 'svgcolor-red', false);
        });

        Blade::directive('eyewitness_success_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-green', 'check-simple', 'svgcolor-green', false);
        });

        Blade::directive('eyewitness_warning_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-orange', 'alert-exc', 'svgcolor-orange', false);
        });

        Blade::directive('eyewitness_info_no_escape', function($message) {
            return $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue', false);
        });

        Blade::directive('eyewitness_tutorial', function($message) {
            $s = "<?php if (config('eyewitness.display_helpers', true)): ?>";
            $s .=  $this->baseNotification($message, 'bg-blue', 'alert-i', 'svgcolor-blue');
            $s .= "<?php endif; ?>";
            return $s;
        });
    }
public function registerNotificationDirectives ( ) { Blade :: directive ( 'eyewitness_error' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-red' , 'bold-remove' , 'svgcolor-red' ) ; } ) ; Blade :: directive ( 'eyewitness_success' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-green' , 'check-simple' , 'svgcolor-green' ) ; } ) ; Blade :: directive ( 'eyewitness_warning' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-orange' , 'alert-exc' , 'svgcolor-orange' ) ; } ) ; Blade :: directive ( 'eyewitness_info' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-blue' , 'alert-i' , 'svgcolor-blue' ) ; } ) ; Blade :: directive ( 'eyewitness_error_no_escape' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-red' , 'bold-remove' , 'svgcolor-red' , false ) ; } ) ; Blade :: directive ( 'eyewitness_success_no_escape' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-green' , 'check-simple' , 'svgcolor-green' , false ) ; } ) ; Blade :: directive ( 'eyewitness_warning_no_escape' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-orange' , 'alert-exc' , 'svgcolor-orange' , false ) ; } ) ; Blade :: directive ( 'eyewitness_info_no_escape' , function ( $ message ) { return $ this -> baseNotification ( $ message , 'bg-blue' , 'alert-i' , 'svgcolor-blue' , false ) ; } ) ; Blade :: directive ( 'eyewitness_tutorial' , function ( $ message ) { $ s = "<?php if (config('eyewitness.display_helpers', true)): ?>" ; $ s .= $ this -> baseNotification ( $ message , 'bg-blue' , 'alert-i' , 'svgcolor-blue' ) ; $ s .= "<?php endif; ?>" ; return $ s ; } ) ; }
Register notification directives.

@return void
Register notification directives .