{"action":"created","comment":{"url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/comments/67057046","id":67057046,"diff_hunk":"@@ -273,4 +273,15 @@ public function beforeStepCheckForException(BeforeStepScope $scope)\n             throw $this->fault;\n         }\n     }\n+\n+    /**\n+     * @Given I register the following headers:\n+     */\n+    public function iRegisterHeaders(TableNode $headers)\n+    {\n+        foreach ($headers->getRowsHash() as $key => $value) {\n+            $soapHeaders[] = new \\SoapHeader($key, $key, $value);","path":"src/Context/SoapContext.php","position":11,"original_position":11,"commit_id":"1dcbad236d634c65667840c512f45d0ff3c7f3ef","original_commit_id":"1dcbad236d634c65667840c512f45d0ff3c7f3ef","user":{"login":"asgorobets","id":869079,"avatar_url":"https://avatars.githubusercontent.com/u/869079?v=3","gravatar_id":"","url":"https://api.github.com/users/asgorobets","html_url":"https://github.com/asgorobets","followers_url":"https://api.github.com/users/asgorobets/followers","following_url":"https://api.github.com/users/asgorobets/following{/other_user}","gists_url":"https://api.github.com/users/asgorobets/gists{/gist_id}","starred_url":"https://api.github.com/users/asgorobets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgorobets/subscriptions","organizations_url":"https://api.github.com/users/asgorobets/orgs","repos_url":"https://api.github.com/users/asgorobets/repos","events_url":"https://api.github.com/users/asgorobets/events{/privacy}","received_events_url":"https://api.github.com/users/asgorobets/received_events","type":"User","site_admin":false},"body":"$value is currently a string if taken from TableNode row hash, but it might be an array in real world scenarios, we've used YAML and PyNode for this kind of complex cases in other steps. Would you consider making it recognize arrays? I'm ok if you have a way to put an array inside of table cell as string with JSON and detect json and decode in needed, that can also come as separate feature, but I would expect authentication headers to have \"username\" and \"password\" as single header $data param.","created_at":"2016-06-14T21:06:09Z","updated_at":"2016-06-14T21:06:09Z","html_url":"https://github.com/asgorobets/SoapExtension/pull/19#discussion_r67057046","pull_request_url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/comments/67057046"},"html":{"href":"https://github.com/asgorobets/SoapExtension/pull/19#discussion_r67057046"},"pull_request":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19","id":73762899,"html_url":"https://github.com/asgorobets/SoapExtension/pull/19","diff_url":"https://github.com/asgorobets/SoapExtension/pull/19.diff","patch_url":"https://github.com/asgorobets/SoapExtension/pull/19.patch","issue_url":"https://api.github.com/repos/asgorobets/SoapExtension/issues/19","number":19,"state":"open","locked":false,"title":"Add soap headers","user":{"login":"numerogeek","id":1225492,"avatar_url":"https://avatars.githubusercontent.com/u/1225492?v=3","gravatar_id":"","url":"https://api.github.com/users/numerogeek","html_url":"https://github.com/numerogeek","followers_url":"https://api.github.com/users/numerogeek/followers","following_url":"https://api.github.com/users/numerogeek/following{/other_user}","gists_url":"https://api.github.com/users/numerogeek/gists{/gist_id}","starred_url":"https://api.github.com/users/numerogeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numerogeek/subscriptions","organizations_url":"https://api.github.com/users/numerogeek/orgs","repos_url":"https://api.github.com/users/numerogeek/repos","events_url":"https://api.github.com/users/numerogeek/events{/privacy}","received_events_url":"https://api.github.com/users/numerogeek/received_events","type":"User","site_admin":false},"body":"#3 ","created_at":"2016-06-14T15:35:45Z","updated_at":"2016-06-14T21:06:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff0f2009d4f770e4bdf8ad3827546c9c50b74b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19/commits","review_comments_url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19/comments","review_comment_url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asgorobets/SoapExtension/issues/19/comments","statuses_url":"https://api.github.com/repos/asgorobets/SoapExtension/statuses/1dcbad236d634c65667840c512f45d0ff3c7f3ef","head":{"label":"numerogeek:add-headers-soap","ref":"add-headers-soap","sha":"1dcbad236d634c65667840c512f45d0ff3c7f3ef","user":{"login":"numerogeek","id":1225492,"avatar_url":"https://avatars.githubusercontent.com/u/1225492?v=3","gravatar_id":"","url":"https://api.github.com/users/numerogeek","html_url":"https://github.com/numerogeek","followers_url":"https://api.github.com/users/numerogeek/followers","following_url":"https://api.github.com/users/numerogeek/following{/other_user}","gists_url":"https://api.github.com/users/numerogeek/gists{/gist_id}","starred_url":"https://api.github.com/users/numerogeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numerogeek/subscriptions","organizations_url":"https://api.github.com/users/numerogeek/orgs","repos_url":"https://api.github.com/users/numerogeek/repos","events_url":"https://api.github.com/users/numerogeek/events{/privacy}","received_events_url":"https://api.github.com/users/numerogeek/received_events","type":"User","site_admin":false},"repo":{"id":61134190,"name":"SoapExtension","full_name":"numerogeek/SoapExtension","owner":{"login":"numerogeek","id":1225492,"avatar_url":"https://avatars.githubusercontent.com/u/1225492?v=3","gravatar_id":"","url":"https://api.github.com/users/numerogeek","html_url":"https://github.com/numerogeek","followers_url":"https://api.github.com/users/numerogeek/followers","following_url":"https://api.github.com/users/numerogeek/following{/other_user}","gists_url":"https://api.github.com/users/numerogeek/gists{/gist_id}","starred_url":"https://api.github.com/users/numerogeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numerogeek/subscriptions","organizations_url":"https://api.github.com/users/numerogeek/orgs","repos_url":"https://api.github.com/users/numerogeek/repos","events_url":"https://api.github.com/users/numerogeek/events{/privacy}","received_events_url":"https://api.github.com/users/numerogeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/numerogeek/SoapExtension","description":"Behat extension for testing SOAP webservices","fork":true,"url":"https://api.github.com/repos/numerogeek/SoapExtension","forks_url":"https://api.github.com/repos/numerogeek/SoapExtension/forks","keys_url":"https://api.github.com/repos/numerogeek/SoapExtension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/numerogeek/SoapExtension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/numerogeek/SoapExtension/teams","hooks_url":"https://api.github.com/repos/numerogeek/SoapExtension/hooks","issue_events_url":"https://api.github.com/repos/numerogeek/SoapExtension/issues/events{/number}","events_url":"https://api.github.com/repos/numerogeek/SoapExtension/events","assignees_url":"https://api.github.com/repos/numerogeek/SoapExtension/assignees{/user}","branches_url":"https://api.github.com/repos/numerogeek/SoapExtension/branches{/branch}","tags_url":"https://api.github.com/repos/numerogeek/SoapExtension/tags","blobs_url":"https://api.github.com/repos/numerogeek/SoapExtension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/numerogeek/SoapExtension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/numerogeek/SoapExtension/git/refs{/sha}","trees_url":"https://api.github.com/repos/numerogeek/SoapExtension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/numerogeek/SoapExtension/statuses/{sha}","languages_url":"https://api.github.com/repos/numerogeek/SoapExtension/languages","stargazers_url":"https://api.github.com/repos/numerogeek/SoapExtension/stargazers","contributors_url":"https://api.github.com/repos/numerogeek/SoapExtension/contributors","subscribers_url":"https://api.github.com/repos/numerogeek/SoapExtension/subscribers","subscription_url":"https://api.github.com/repos/numerogeek/SoapExtension/subscription","commits_url":"https://api.github.com/repos/numerogeek/SoapExtension/commits{/sha}","git_commits_url":"https://api.github.com/repos/numerogeek/SoapExtension/git/commits{/sha}","comments_url":"https://api.github.com/repos/numerogeek/SoapExtension/comments{/number}","issue_comment_url":"https://api.github.com/repos/numerogeek/SoapExtension/issues/comments{/number}","contents_url":"https://api.github.com/repos/numerogeek/SoapExtension/contents/{+path}","compare_url":"https://api.github.com/repos/numerogeek/SoapExtension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/numerogeek/SoapExtension/merges","archive_url":"https://api.github.com/repos/numerogeek/SoapExtension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/numerogeek/SoapExtension/downloads","issues_url":"https://api.github.com/repos/numerogeek/SoapExtension/issues{/number}","pulls_url":"https://api.github.com/repos/numerogeek/SoapExtension/pulls{/number}","milestones_url":"https://api.github.com/repos/numerogeek/SoapExtension/milestones{/number}","notifications_url":"https://api.github.com/repos/numerogeek/SoapExtension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/numerogeek/SoapExtension/labels{/name}","releases_url":"https://api.github.com/repos/numerogeek/SoapExtension/releases{/id}","deployments_url":"https://api.github.com/repos/numerogeek/SoapExtension/deployments","created_at":"2016-06-14T15:27:44Z","updated_at":"2016-06-14T15:27:45Z","pushed_at":"2016-06-14T15:34:05Z","git_url":"git://github.com/numerogeek/SoapExtension.git","ssh_url":"git@github.com:numerogeek/SoapExtension.git","clone_url":"https://github.com/numerogeek/SoapExtension.git","svn_url":"https://github.com/numerogeek/SoapExtension","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"asgorobets:master","ref":"master","sha":"dbaf08832a848207d12e80968df6461406d344be","user":{"login":"asgorobets","id":869079,"avatar_url":"https://avatars.githubusercontent.com/u/869079?v=3","gravatar_id":"","url":"https://api.github.com/users/asgorobets","html_url":"https://github.com/asgorobets","followers_url":"https://api.github.com/users/asgorobets/followers","following_url":"https://api.github.com/users/asgorobets/following{/other_user}","gists_url":"https://api.github.com/users/asgorobets/gists{/gist_id}","starred_url":"https://api.github.com/users/asgorobets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgorobets/subscriptions","organizations_url":"https://api.github.com/users/asgorobets/orgs","repos_url":"https://api.github.com/users/asgorobets/repos","events_url":"https://api.github.com/users/asgorobets/events{/privacy}","received_events_url":"https://api.github.com/users/asgorobets/received_events","type":"User","site_admin":false},"repo":{"id":52447705,"name":"SoapExtension","full_name":"asgorobets/SoapExtension","owner":{"login":"asgorobets","id":869079,"avatar_url":"https://avatars.githubusercontent.com/u/869079?v=3","gravatar_id":"","url":"https://api.github.com/users/asgorobets","html_url":"https://github.com/asgorobets","followers_url":"https://api.github.com/users/asgorobets/followers","following_url":"https://api.github.com/users/asgorobets/following{/other_user}","gists_url":"https://api.github.com/users/asgorobets/gists{/gist_id}","starred_url":"https://api.github.com/users/asgorobets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgorobets/subscriptions","organizations_url":"https://api.github.com/users/asgorobets/orgs","repos_url":"https://api.github.com/users/asgorobets/repos","events_url":"https://api.github.com/users/asgorobets/events{/privacy}","received_events_url":"https://api.github.com/users/asgorobets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asgorobets/SoapExtension","description":"Behat extension for testing SOAP webservices","fork":false,"url":"https://api.github.com/repos/asgorobets/SoapExtension","forks_url":"https://api.github.com/repos/asgorobets/SoapExtension/forks","keys_url":"https://api.github.com/repos/asgorobets/SoapExtension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asgorobets/SoapExtension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asgorobets/SoapExtension/teams","hooks_url":"https://api.github.com/repos/asgorobets/SoapExtension/hooks","issue_events_url":"https://api.github.com/repos/asgorobets/SoapExtension/issues/events{/number}","events_url":"https://api.github.com/repos/asgorobets/SoapExtension/events","assignees_url":"https://api.github.com/repos/asgorobets/SoapExtension/assignees{/user}","branches_url":"https://api.github.com/repos/asgorobets/SoapExtension/branches{/branch}","tags_url":"https://api.github.com/repos/asgorobets/SoapExtension/tags","blobs_url":"https://api.github.com/repos/asgorobets/SoapExtension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asgorobets/SoapExtension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asgorobets/SoapExtension/git/refs{/sha}","trees_url":"https://api.github.com/repos/asgorobets/SoapExtension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asgorobets/SoapExtension/statuses/{sha}","languages_url":"https://api.github.com/repos/asgorobets/SoapExtension/languages","stargazers_url":"https://api.github.com/repos/asgorobets/SoapExtension/stargazers","contributors_url":"https://api.github.com/repos/asgorobets/SoapExtension/contributors","subscribers_url":"https://api.github.com/repos/asgorobets/SoapExtension/subscribers","subscription_url":"https://api.github.com/repos/asgorobets/SoapExtension/subscription","commits_url":"https://api.github.com/repos/asgorobets/SoapExtension/commits{/sha}","git_commits_url":"https://api.github.com/repos/asgorobets/SoapExtension/git/commits{/sha}","comments_url":"https://api.github.com/repos/asgorobets/SoapExtension/comments{/number}","issue_comment_url":"https://api.github.com/repos/asgorobets/SoapExtension/issues/comments{/number}","contents_url":"https://api.github.com/repos/asgorobets/SoapExtension/contents/{+path}","compare_url":"https://api.github.com/repos/asgorobets/SoapExtension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asgorobets/SoapExtension/merges","archive_url":"https://api.github.com/repos/asgorobets/SoapExtension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asgorobets/SoapExtension/downloads","issues_url":"https://api.github.com/repos/asgorobets/SoapExtension/issues{/number}","pulls_url":"https://api.github.com/repos/asgorobets/SoapExtension/pulls{/number}","milestones_url":"https://api.github.com/repos/asgorobets/SoapExtension/milestones{/number}","notifications_url":"https://api.github.com/repos/asgorobets/SoapExtension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asgorobets/SoapExtension/labels{/name}","releases_url":"https://api.github.com/repos/asgorobets/SoapExtension/releases{/id}","deployments_url":"https://api.github.com/repos/asgorobets/SoapExtension/deployments","created_at":"2016-02-24T14:17:27Z","updated_at":"2016-06-02T08:05:22Z","pushed_at":"2016-06-14T15:35:45Z","git_url":"git://github.com/asgorobets/SoapExtension.git","ssh_url":"git@github.com:asgorobets/SoapExtension.git","clone_url":"https://github.com/asgorobets/SoapExtension.git","svn_url":"https://github.com/asgorobets/SoapExtension","homepage":null,"size":45,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":6,"forks":4,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19"},"html":{"href":"https://github.com/asgorobets/SoapExtension/pull/19"},"issue":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/issues/19"},"comments":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/asgorobets/SoapExtension/statuses/1dcbad236d634c65667840c512f45d0ff3c7f3ef"}}}}
{"actor":{"display_login":"asgorobets"}}