protected function getConfig($name)
    {
        if (empty($name)) {
            throw new InvalidArgumentException("Script Engine 'name' can not be empty.");
        }

        $engines = $this->app['config']['df.script'];

        return array_get($engines, $name, []);
    }
protected function getConfig($name)
    {
        if (empty($name)) {
            throw new InvalidArgumentException("Script Engine 'name' can not be empty.");
        }

        $engines = $this->app['config']['df.script'];

        return array_get($engines, $name, []);
    }
protected function getConfig ( $ name ) { if ( empty ( $ name ) ) { throw new InvalidArgumentException ( "Script Engine 'name' can not be empty." ) ; } $ engines = $ this -> app [ 'config' ] [ 'df.script' ] ; return array_get ( $ engines , $ name , [ ] ) ; }
Get the configuration for a script engine.

@param  string $name

@return array

@throws InvalidArgumentException
Get the configuration for a script engine .