{"action":"created","issue":{"url":"https://api.github.com/repos/themosis/framework/issues/477","repository_url":"https://api.github.com/repos/themosis/framework","labels_url":"https://api.github.com/repos/themosis/framework/issues/477/labels{/name}","comments_url":"https://api.github.com/repos/themosis/framework/issues/477/comments","events_url":"https://api.github.com/repos/themosis/framework/issues/477/events","html_url":"https://github.com/themosis/framework/issues/477","id":294063639,"number":477,"title":"Filter/Action accept array as first parameter","user":{"login":"ramon-villain","id":1520006,"avatar_url":"https://avatars1.githubusercontent.com/u/1520006?v=4","gravatar_id":"","url":"https://api.github.com/users/ramon-villain","html_url":"https://github.com/ramon-villain","followers_url":"https://api.github.com/users/ramon-villain/followers","following_url":"https://api.github.com/users/ramon-villain/following{/other_user}","gists_url":"https://api.github.com/users/ramon-villain/gists{/gist_id}","starred_url":"https://api.github.com/users/ramon-villain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramon-villain/subscriptions","organizations_url":"https://api.github.com/users/ramon-villain/orgs","repos_url":"https://api.github.com/users/ramon-villain/repos","events_url":"https://api.github.com/users/ramon-villain/events{/privacy}","received_events_url":"https://api.github.com/users/ramon-villain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-03T00:28:36Z","updated_at":"2018-02-21T14:27:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This could drive us to less repetition and duplication in situations when you use callbacks.\r\n\r\nSo instead of having to do.\r\n```\r\nAction::add('created_term', [$this, 'method']);\r\nAction::add('edit_term', [$this, 'method']);\r\n\r\nfunction method()\r\n{\r\nreturn;\r\n}\r\n```\r\nor even\r\n```\r\nAction::add('created_term', function(){\r\nreturn;\r\n});\r\nAction::add('edit_term', function(){\r\nreturn;\r\n});\r\n```\r\nwe could just code\r\n\r\n```\r\nAction::add(['created_term', 'edit_term'], function(){\r\nreturn;\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/themosis/framework/issues/comments/367342878","html_url":"https://github.com/themosis/framework/issues/477#issuecomment-367342878","issue_url":"https://api.github.com/repos/themosis/framework/issues/477","id":367342878,"user":{"login":"jlambe","id":1917490,"avatar_url":"https://avatars0.githubusercontent.com/u/1917490?v=4","gravatar_id":"","url":"https://api.github.com/users/jlambe","html_url":"https://github.com/jlambe","followers_url":"https://api.github.com/users/jlambe/followers","following_url":"https://api.github.com/users/jlambe/following{/other_user}","gists_url":"https://api.github.com/users/jlambe/gists{/gist_id}","starred_url":"https://api.github.com/users/jlambe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlambe/subscriptions","organizations_url":"https://api.github.com/users/jlambe/orgs","repos_url":"https://api.github.com/users/jlambe/repos","events_url":"https://api.github.com/users/jlambe/events{/privacy}","received_events_url":"https://api.github.com/users/jlambe/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T14:27:05Z","updated_at":"2018-02-21T14:27:05Z","author_association":"CONTRIBUTOR","body":"@ramon-villain Indeed nice feature to develop! I'll add this one for the `next` release 👍 "}}
{"actor":{"display_login":"jlambe"}}