Bolt\Provider\StackServiceProvider::register PHP Method

register() public method

public register ( Silex\Application $app )
$app Silex\Application
    public function register(Application $app)
    {
        $app['stack'] = $app->share(function ($app) {
            $stack = new Stack($app['filesystem.matcher'], $app['users'], $app['session'], $app['config']->get('general/accept_file_types'));
            return $stack;
        });
    }
StackServiceProvider