protected function registerWithParenthesis()
    {
        // Call to Laratrust::hasRole.
        Blade::directive('role', function ($expression) {
            return "<?php if (app('laratrust')->hasRole({$expression})) : ?>";
        });

        // Call to Laratrust::can.
        Blade::directive('permission', function ($expression) {
            return "<?php if (app('laratrust')->can({$expression})) : ?>";
        });

        // Call to Laratrust::ability.
        Blade::directive('ability', function ($expression) {
            return "<?php if (app('laratrust')->ability({$expression})) : ?>";
        });

        // Call to Laratrust::canAndOwns.
        Blade::directive('canAndOwns', function ($expression) {
            return "<?php if (app('laratrust')->canAndOwns({$expression})) : ?>";
        });

        // Call to Laratrust::hasRoleAndOwns.
        Blade::directive('hasRoleAndOwns', function ($expression) {
            return "<?php if (app('laratrust')->hasRoleAndOwns({$expression})) : ?>";
        });
    }