{"action":"created","issue":{"url":"https://api.github.com/repos/silexphp/Silex/issues/1177","labels_url":"https://api.github.com/repos/silexphp/Silex/issues/1177/labels{/name}","comments_url":"https://api.github.com/repos/silexphp/Silex/issues/1177/comments","events_url":"https://api.github.com/repos/silexphp/Silex/issues/1177/events","html_url":"https://github.com/silexphp/Silex/pull/1177","id":87853673,"number":1177,"title":"Removing the default array to allow for $app config to be used","user":{"login":"cgsmith","id":570018,"avatar_url":"https://avatars.githubusercontent.com/u/570018?v=3","gravatar_id":"","url":"https://api.github.com/users/cgsmith","html_url":"https://github.com/cgsmith","followers_url":"https://api.github.com/users/cgsmith/followers","following_url":"https://api.github.com/users/cgsmith/following{/other_user}","gists_url":"https://api.github.com/users/cgsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cgsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgsmith/subscriptions","organizations_url":"https://api.github.com/users/cgsmith/orgs","repos_url":"https://api.github.com/users/cgsmith/repos","events_url":"https://api.github.com/users/cgsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cgsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T21:09:54Z","updated_at":"2015-06-13T00:12:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silexphp/Silex/pulls/1177","html_url":"https://github.com/silexphp/Silex/pull/1177","diff_url":"https://github.com/silexphp/Silex/pull/1177.diff","patch_url":"https://github.com/silexphp/Silex/pull/1177.patch"},"body":"This would allow $app to have the config options passed to swiftmailer's provider."},"comment":{"url":"https://api.github.com/repos/silexphp/Silex/issues/comments/111645299","html_url":"https://github.com/silexphp/Silex/pull/1177#issuecomment-111645299","issue_url":"https://api.github.com/repos/silexphp/Silex/issues/1177","id":111645299,"user":{"login":"cgsmith","id":570018,"avatar_url":"https://avatars.githubusercontent.com/u/570018?v=3","gravatar_id":"","url":"https://api.github.com/users/cgsmith","html_url":"https://github.com/cgsmith","followers_url":"https://api.github.com/users/cgsmith/followers","following_url":"https://api.github.com/users/cgsmith/following{/other_user}","gists_url":"https://api.github.com/users/cgsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cgsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgsmith/subscriptions","organizations_url":"https://api.github.com/users/cgsmith/orgs","repos_url":"https://api.github.com/users/cgsmith/repos","events_url":"https://api.github.com/users/cgsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cgsmith/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T00:12:09Z","updated_at":"2015-06-13T00:12:09Z","body":"@stof how would i do something similar to how the doctrine service provider instantiates?\r\n\r\nIf i can do something similar i can always submit a PR to the docs as this was unclear which is why i ended up down this original path.  Excuse my mistake if i made one. "}}