protected function getOptions(array $config)
    {
        $options = [];

        if ($visibility = array_get($config, 'visibility')) {
            $options['visibility'] = $visibility;
        }

        if ($pirate = array_get($config, 'pirate')) {
            $options['disable_asserts'] = $pirate;
        }

        return $options;
    }
protected function getOptions(array $config)
    {
        $options = [];

        if ($visibility = array_get($config, 'visibility')) {
            $options['visibility'] = $visibility;
        }

        if ($pirate = array_get($config, 'pirate')) {
            $options['disable_asserts'] = $pirate;
        }

        return $options;
    }
protected function getOptions ( array $ config ) { $ options = [ ] ; if ( $ visibility = array_get ( $ config , 'visibility' ) ) { $ options [ 'visibility' ] = $ visibility ; } if ( $ pirate = array_get ( $ config , 'pirate' ) ) { $ options [ 'disable_asserts' ] = $ pirate ; } return $ options ; }
Get the flysystem options.

@param array $config

@return array|null
Get the flysystem options .