src/LaratrustRegistersBladeDirectives.php
public function handle($laravelVersion = '5.3.0')
    {
        if (version_compare(strtolower($laravelVersion), '5.3.0-dev', '>=')) {
            $this->registerWithParenthesis();
        } else {
            $this->registerWithoutParenthesis();
        }

        $this->registerClosingDirectives();
    }
public function handle($laravelVersion = '5.3.0')
    {
        if (version_compare(strtolower($laravelVersion), '5.3.0-dev', '>=')) {
            $this->registerWithParenthesis();
        } else {
            $this->registerWithoutParenthesis();
        }

        $this->registerClosingDirectives();
    }
public function handle ( $ laravelVersion = '5.3.0' ) { if ( version_compare ( strtolower ( $ laravelVersion ) , '5.3.0-dev' , '>=' ) ) { $ this -> registerWithParenthesis ( ) ; } else { $ this -> registerWithoutParenthesis ( ) ; } $ this -> registerClosingDirectives ( ) ; }
Handles the registration of the blades directives.

@param  string  $laravelVersion
@return void
Handles the registration of the blades directives .