src/FormServiceProvider.php
protected function registerBladeDirectives()
    {
        Blade::directive('form', function ($expression) {
            $expression = $this->addParenthesis($expression); 
            return "<?php app('Activisme_BE')->model{$expression}; ?>"; 
        });

        Blade::directive('input', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->input{$expression}; ?>";
        });

        Blade::directive('text', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->text{$expression}; ?>";
        });

        Blade::directive('checkbox', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->checkbox{$expression}; ?>";
        });

        Blade::directive('radio', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->radio{$expression}; ?>";
        });

        Blade::directive('options', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->options{$expression}; ?>";
        });

        Blade::directive('error', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->error{$expression}; ?>";
        });
    }
protected function registerBladeDirectives()
    {
        Blade::directive('form', function ($expression) {
            $expression = $this->addParenthesis($expression); 
            return "<?php app('Activisme_BE')->model{$expression}; ?>"; 
        });

        Blade::directive('input', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->input{$expression}; ?>";
        });

        Blade::directive('text', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->text{$expression}; ?>";
        });

        Blade::directive('checkbox', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->checkbox{$expression}; ?>";
        });

        Blade::directive('radio', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->radio{$expression}; ?>";
        });

        Blade::directive('options', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->options{$expression}; ?>";
        });

        Blade::directive('error', function ($expression) {
            $expression = $this->addParenthesis($expression);
            return "<?php echo app('Activisme_BE')->error{$expression}; ?>";
        });
    }
protected function registerBladeDirectives ( ) { Blade :: directive ( 'form' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php app('Activisme_BE')->model{$expression}; ?>" ; } ) ; Blade :: directive ( 'input' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->input{$expression}; ?>" ; } ) ; Blade :: directive ( 'text' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->text{$expression}; ?>" ; } ) ; Blade :: directive ( 'checkbox' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->checkbox{$expression}; ?>" ; } ) ; Blade :: directive ( 'radio' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->radio{$expression}; ?>" ; } ) ; Blade :: directive ( 'options' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->options{$expression}; ?>" ; } ) ; Blade :: directive ( 'error' , function ( $ expression ) { $ expression = $ this -> addParenthesis ( $ expression ) ; return "<?php echo app('Activisme_BE')->error{$expression}; ?>" ; } ) ; }
Register blade directives.

@return void
Register blade directives .