{"action":"closed","number":49,"pull_request":{"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49","id":167273073,"html_url":"https://github.com/pattern-lab/patternengine-php-twig/pull/49","diff_url":"https://github.com/pattern-lab/patternengine-php-twig/pull/49.diff","patch_url":"https://github.com/pattern-lab/patternengine-php-twig/pull/49.patch","issue_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/49","number":49,"state":"closed","locked":false,"title":"Custom Twig Extensions","user":{"login":"EvanLovely","id":569699,"avatar_url":"https://avatars1.githubusercontent.com/u/569699?v=4","gravatar_id":"","url":"https://api.github.com/users/EvanLovely","html_url":"https://github.com/EvanLovely","followers_url":"https://api.github.com/users/EvanLovely/followers","following_url":"https://api.github.com/users/EvanLovely/following{/other_user}","gists_url":"https://api.github.com/users/EvanLovely/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanLovely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanLovely/subscriptions","organizations_url":"https://api.github.com/users/EvanLovely/orgs","repos_url":"https://api.github.com/users/EvanLovely/repos","events_url":"https://api.github.com/users/EvanLovely/events{/privacy}","received_events_url":"https://api.github.com/users/EvanLovely/received_events","type":"User","site_admin":false},"body":"A [Twig Extension](https://twig.symfony.com/doc/1.x/advanced.html#creating-an-extension) is a collection of Twig functions, filters, tags, globals, and tests all as a single bundle. This approach is more advanced than adding a single function or filter using the traditional PL method, but allows greater flexibility as the whole Twig Extension can be installed in multiple environments.","created_at":"2018-02-05T22:34:18Z","updated_at":"2018-02-05T22:34:32Z","closed_at":"2018-02-05T22:34:31Z","merged_at":"2018-02-05T22:34:31Z","merge_commit_sha":"b6f6297476a22331530a07dd825f0f872aa2835f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49/commits","review_comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49/comments","review_comment_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/49/comments","statuses_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/statuses/b55cf25967088ad1692f768aa4dc1b9597520ae0","head":{"label":"pattern-lab:feature/custom-twig-extensions","ref":"feature/custom-twig-extensions","sha":"b55cf25967088ad1692f768aa4dc1b9597520ae0","user":{"login":"pattern-lab","id":4733935,"avatar_url":"https://avatars3.githubusercontent.com/u/4733935?v=4","gravatar_id":"","url":"https://api.github.com/users/pattern-lab","html_url":"https://github.com/pattern-lab","followers_url":"https://api.github.com/users/pattern-lab/followers","following_url":"https://api.github.com/users/pattern-lab/following{/other_user}","gists_url":"https://api.github.com/users/pattern-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-lab/subscriptions","organizations_url":"https://api.github.com/users/pattern-lab/orgs","repos_url":"https://api.github.com/users/pattern-lab/repos","events_url":"https://api.github.com/users/pattern-lab/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":21108033,"name":"patternengine-php-twig","full_name":"pattern-lab/patternengine-php-twig","owner":{"login":"pattern-lab","id":4733935,"avatar_url":"https://avatars3.githubusercontent.com/u/4733935?v=4","gravatar_id":"","url":"https://api.github.com/users/pattern-lab","html_url":"https://github.com/pattern-lab","followers_url":"https://api.github.com/users/pattern-lab/followers","following_url":"https://api.github.com/users/pattern-lab/following{/other_user}","gists_url":"https://api.github.com/users/pattern-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-lab/subscriptions","organizations_url":"https://api.github.com/users/pattern-lab/orgs","repos_url":"https://api.github.com/users/pattern-lab/repos","events_url":"https://api.github.com/users/pattern-lab/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pattern-lab/patternengine-php-twig","description":"Twig-based PatternEngine for Pattern Lab.","fork":false,"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig","forks_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/forks","keys_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/teams","hooks_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/hooks","issue_events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/events{/number}","events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/events","assignees_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/assignees{/user}","branches_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/branches{/branch}","tags_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/tags","blobs_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/statuses/{sha}","languages_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/languages","stargazers_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/stargazers","contributors_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/contributors","subscribers_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/subscribers","subscription_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/subscription","commits_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/contents/{+path}","compare_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/merges","archive_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/downloads","issues_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues{/number}","pulls_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls{/number}","milestones_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/milestones{/number}","notifications_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/labels{/name}","releases_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/releases{/id}","deployments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/deployments","created_at":"2014-06-22T23:00:34Z","updated_at":"2018-01-25T16:01:28Z","pushed_at":"2018-02-05T22:34:31Z","git_url":"git://github.com/pattern-lab/patternengine-php-twig.git","ssh_url":"git@github.com:pattern-lab/patternengine-php-twig.git","clone_url":"https://github.com/pattern-lab/patternengine-php-twig.git","svn_url":"https://github.com/pattern-lab/patternengine-php-twig","homepage":"http://patternlab.io/","size":78,"stargazers_count":56,"watchers_count":56,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":24,"open_issues":14,"watchers":56,"default_branch":"develop"}},"base":{"label":"pattern-lab:develop","ref":"develop","sha":"f402a2f3e9aff0ead34fa9e8d0c3119d74e51997","user":{"login":"pattern-lab","id":4733935,"avatar_url":"https://avatars3.githubusercontent.com/u/4733935?v=4","gravatar_id":"","url":"https://api.github.com/users/pattern-lab","html_url":"https://github.com/pattern-lab","followers_url":"https://api.github.com/users/pattern-lab/followers","following_url":"https://api.github.com/users/pattern-lab/following{/other_user}","gists_url":"https://api.github.com/users/pattern-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-lab/subscriptions","organizations_url":"https://api.github.com/users/pattern-lab/orgs","repos_url":"https://api.github.com/users/pattern-lab/repos","events_url":"https://api.github.com/users/pattern-lab/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-lab/received_events","type":"Organization","site_admin":false},"repo":{"id":21108033,"name":"patternengine-php-twig","full_name":"pattern-lab/patternengine-php-twig","owner":{"login":"pattern-lab","id":4733935,"avatar_url":"https://avatars3.githubusercontent.com/u/4733935?v=4","gravatar_id":"","url":"https://api.github.com/users/pattern-lab","html_url":"https://github.com/pattern-lab","followers_url":"https://api.github.com/users/pattern-lab/followers","following_url":"https://api.github.com/users/pattern-lab/following{/other_user}","gists_url":"https://api.github.com/users/pattern-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/pattern-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattern-lab/subscriptions","organizations_url":"https://api.github.com/users/pattern-lab/orgs","repos_url":"https://api.github.com/users/pattern-lab/repos","events_url":"https://api.github.com/users/pattern-lab/events{/privacy}","received_events_url":"https://api.github.com/users/pattern-lab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pattern-lab/patternengine-php-twig","description":"Twig-based PatternEngine for Pattern Lab.","fork":false,"url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig","forks_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/forks","keys_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/teams","hooks_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/hooks","issue_events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/events{/number}","events_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/events","assignees_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/assignees{/user}","branches_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/branches{/branch}","tags_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/tags","blobs_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/statuses/{sha}","languages_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/languages","stargazers_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/stargazers","contributors_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/contributors","subscribers_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/subscribers","subscription_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/subscription","commits_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/contents/{+path}","compare_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/merges","archive_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/downloads","issues_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues{/number}","pulls_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls{/number}","milestones_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/milestones{/number}","notifications_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/labels{/name}","releases_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/releases{/id}","deployments_url":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/deployments","created_at":"2014-06-22T23:00:34Z","updated_at":"2018-01-25T16:01:28Z","pushed_at":"2018-02-05T22:34:31Z","git_url":"git://github.com/pattern-lab/patternengine-php-twig.git","ssh_url":"git@github.com:pattern-lab/patternengine-php-twig.git","clone_url":"https://github.com/pattern-lab/patternengine-php-twig.git","svn_url":"https://github.com/pattern-lab/patternengine-php-twig","homepage":"http://patternlab.io/","size":78,"stargazers_count":56,"watchers_count":56,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":24,"open_issues":14,"watchers":56,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49"},"html":{"href":"https://github.com/pattern-lab/patternengine-php-twig/pull/49"},"issue":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/49"},"comments":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/pattern-lab/patternengine-php-twig/statuses/b55cf25967088ad1692f768aa4dc1b9597520ae0"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"EvanLovely","id":569699,"avatar_url":"https://avatars1.githubusercontent.com/u/569699?v=4","gravatar_id":"","url":"https://api.github.com/users/EvanLovely","html_url":"https://github.com/EvanLovely","followers_url":"https://api.github.com/users/EvanLovely/followers","following_url":"https://api.github.com/users/EvanLovely/following{/other_user}","gists_url":"https://api.github.com/users/EvanLovely/gists{/gist_id}","starred_url":"https://api.github.com/users/EvanLovely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvanLovely/subscriptions","organizations_url":"https://api.github.com/users/EvanLovely/orgs","repos_url":"https://api.github.com/users/EvanLovely/repos","events_url":"https://api.github.com/users/EvanLovely/events{/privacy}","received_events_url":"https://api.github.com/users/EvanLovely/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":163,"deletions":0,"changed_files":6}}
{"actor":{"display_login":"EvanLovely"}}