public function getConfig() {
        $key = abs($this->version()) == 5 ? 'croppa' : 'croppa::config';

        $config = $this->app->make('config')->get($key);

        // Use Laravel's encryption key if instructed to
        if (isset($config['signing_key']) && $config['signing_key'] == 'app.key') {
            $config['signing_key'] = $this->app->make('config')->get('app.key');
        }

        return $config;
    }
public function getConfig() {
        $key = abs($this->version()) == 5 ? 'croppa' : 'croppa::config';

        $config = $this->app->make('config')->get($key);

        // Use Laravel's encryption key if instructed to
        if (isset($config['signing_key']) && $config['signing_key'] == 'app.key') {
            $config['signing_key'] = $this->app->make('config')->get('app.key');
        }

        return $config;
    }
public function getConfig ( ) { $ key = abs ( $ this -> version ( ) ) == 5 ? 'croppa' : 'croppa::config' ; $ config = $ this -> app -> make ( 'config' ) -> get ( $ key ) ; // Use Laravel's encryption key if instructed to if ( isset ( $ config [ 'signing_key' ] ) && $ config [ 'signing_key' ] == 'app.key' ) { $ config [ 'signing_key' ] = $ this -> app -> make ( 'config' ) -> get ( 'app.key' ) ; } return $ config ; }
Get the configuration, which is keyed differently in L5 vs l4

@return array
Get the configuration which is keyed differently in L5 vs l4