function(Container $c) { return new Slim\Views\Blade( $c->get('folders')->templates, $c->get('folders')->cache, null, [ 'api_key' => $c->get('API_KEY'), 'urls' => $c->get('urls') ] ); }, GuzzleHttp\Client::class => function(Container $c) { return new GuzzleHttp\Client([ 'base_uri' => 'http://api-proxy', 'headers' => [ 'Authorization' => 'Bearer ' . $c->get('API_KEY') ] ]); } ];