{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/migrations/issues/233","labels_url":"https://api.github.com/repos/doctrine/migrations/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/migrations/issues/233/comments","events_url":"https://api.github.com/repos/doctrine/migrations/issues/233/events","html_url":"https://github.com/doctrine/migrations/issues/233","id":71925938,"number":233,"title":"Separate Configuration Objects from Configuration File Loading","user":{"login":"chrisguitarguy","id":1010392,"avatar_url":"https://avatars.githubusercontent.com/u/1010392?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisguitarguy","html_url":"https://github.com/chrisguitarguy","followers_url":"https://api.github.com/users/chrisguitarguy/followers","following_url":"https://api.github.com/users/chrisguitarguy/following{/other_user}","gists_url":"https://api.github.com/users/chrisguitarguy/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisguitarguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisguitarguy/subscriptions","organizations_url":"https://api.github.com/users/chrisguitarguy/orgs","repos_url":"https://api.github.com/users/chrisguitarguy/repos","events_url":"https://api.github.com/users/chrisguitarguy/events{/privacy}","received_events_url":"https://api.github.com/users/chrisguitarguy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/migrations/labels/improvement","name":"improvement","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-29T16:40:05Z","updated_at":"2016-01-18T09:14:04Z","closed_at":"2016-01-18T09:14:04Z","body":"Somewhat related to #204\r\n\r\nIt would make sense to pull out the file loading aspect of the configuration to a separate set of loader classes (and a chain loader that you just pass a filename too and avoid [this lovely thing](https://github.com/doctrine/migrations/blob/252fb449d5c45a4c1a92497b43d4c246bde0ee6b/lib/Doctrine/DBAL/Migrations/Tools/Console/Command/AbstractCommand.php#L103-L121)).\r\n\r\nThen configurations objects themselves would just end up being a simple, immutable object hidden behind an interface that provide utilities like getting a versions.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/doctrine/migrations/issues/comments/172471249","html_url":"https://github.com/doctrine/migrations/issues/233#issuecomment-172471249","issue_url":"https://api.github.com/repos/doctrine/migrations/issues/233","id":172471249,"user":{"login":"mikeSimonson","id":907613,"avatar_url":"https://avatars.githubusercontent.com/u/907613?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeSimonson","html_url":"https://github.com/mikeSimonson","followers_url":"https://api.github.com/users/mikeSimonson/followers","following_url":"https://api.github.com/users/mikeSimonson/following{/other_user}","gists_url":"https://api.github.com/users/mikeSimonson/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeSimonson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeSimonson/subscriptions","organizations_url":"https://api.github.com/users/mikeSimonson/orgs","repos_url":"https://api.github.com/users/mikeSimonson/repos","events_url":"https://api.github.com/users/mikeSimonson/events{/privacy}","received_events_url":"https://api.github.com/users/mikeSimonson/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T09:14:04Z","updated_at":"2016-01-18T09:14:04Z","body":"@chrisguitarguy @TomasVotruba Done in #422 "}}