{"action":"created","issue":{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/22","repository_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig","labels_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/22/comments","events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/22/events","html_url":"https://github.com/pattern-lab/patternengine-php-twig/issues/22","id":152839209,"number":22,"title":"Add Getter/Setter for $instance to TwigUtil","user":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-05-03T18:12:07Z","updated_at":"2016-05-05T02:32:11Z","closed_at":"2016-05-05T02:32:11Z","body":"This should address any plugins that want to modify an instance with additional features (e.g. paths or extensions). Not sure if we still won't run into race conditions but it's something."},"comment":{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/comments/217060668","html_url":"https://github.com/pattern-lab/patternengine-php-twig/issues/22#issuecomment-217060668","issue_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/22","id":217060668,"user":{"login":"dmolsen","id":2746,"avatar_url":"https://avatars.githubusercontent.com/u/2746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmolsen","html_url":"https://github.com/dmolsen","followers_url":"https://api.github.com/users/dmolsen/followers","following_url":"https://api.github.com/users/dmolsen/following{/other_user}","gists_url":"https://api.github.com/users/dmolsen/gists{/gist_id}","starred_url":"https://api.github.com/users/dmolsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmolsen/subscriptions","organizations_url":"https://api.github.com/users/dmolsen/orgs","repos_url":"https://api.github.com/users/dmolsen/repos","events_url":"https://api.github.com/users/dmolsen/events{/privacy}","received_events_url":"https://api.github.com/users/dmolsen/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T02:32:11Z","updated_at":"2016-05-05T02:32:11Z","body":"Plugins should now be able to access a Twig instance via `$instance = TwigUtil::getInstance()` and set it via `TwigUtil::setInstance($instance);`. Use events to determine which loader instance you are modifying."}}