protected function shouldRegisterBladeDirective()
    {
        if (!$this->app['config']->get('criticalcss.blade_directive')) {
            return false;
        }

        if ($this->app->runningInConsole()) {
            return false;
        }

        return true;
    }
protected function shouldRegisterBladeDirective()
    {
        if (!$this->app['config']->get('criticalcss.blade_directive')) {
            return false;
        }

        if ($this->app->runningInConsole()) {
            return false;
        }

        return true;
    }
protected function shouldRegisterBladeDirective ( ) { if ( ! $ this -> app [ 'config' ] -> get ( 'criticalcss.blade_directive' ) ) { return false ; } if ( $ this -> app -> runningInConsole ( ) ) { return false ; } return true ; }
Should the Blade directive be registered?
Fixes compatibility issues with Laravel 5.0.

@return bool
Should the Blade directive be registered? Fixes compatibility issues with Laravel 5 . 0 .