protected function getOption(Container $app, $name)
    {
        if (isset($app['silex_user.options'][$name])) {
            return $app['silex_user.options'][$name];
        } else {
            return self::$defaultOptions[$name];
        }
    }
protected function getOption(Container $app, $name)
    {
        if (isset($app['silex_user.options'][$name])) {
            return $app['silex_user.options'][$name];
        } else {
            return self::$defaultOptions[$name];
        }
    }
protected function getOption ( Container $ app , $ name ) { if ( isset ( $ app [ 'silex_user.options' ] [ $ name ] ) ) { return $ app [ 'silex_user.options' ] [ $ name ] ; } else { return self :: $ defaultOptions [ $ name ] ; } }
Gets an option or its default value if it is not set.

@param Container $app
@param string $name

@return mixed
Gets an option or its default value if it is not set .