{"action":"created","comment":{"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/comments/24773048","id":24773048,"diff_hunk":"@@ -346,9 +353,51 @@ protected function postFixtureSetup()\n     }\n \n     /**\n-     * Callback function to be executed after Schema restore.\n+     * Callback function to be executed after Schema restore\n+     *\n+     * @param ObjectManager $manager The object manager\n+     * @param ProxyReferenceRepository $referenceRepository The reference repository\n+     * @return WebTestCase\n+     */\n+    protected function postFixtureRestore(ObjectManager $manager, ProxyReferenceRepository $referenceRepository)\n+    {\n+\n+    }\n+\n+    /**\n+     * Callback function to be executed before Schema restore\n+     *\n+     * @param ObjectManager $manager The object manager\n+     * @param ProxyReferenceRepository $referenceRepository The reference repository\n+     * @return WebTestCase\n+     */\n+    protected function preFixtureRestore(ObjectManager $manager, ProxyReferenceRepository $referenceRepository)\n+    {\n+\n+    }\n+\n+    /**\n+     * Callback function to be executed after save of references\n+     *\n+     * @param ObjectManager $manager The object manager\n+     * @param AbstractExecutor $executor Executor of the data fixtures\n+     * @param string $backupFilePath Path of file used to backup the references of the data fixtures\n+     * @return WebTestCase\n+     */\n+    protected function postReferenceSave(ObjectManager $manager, AbstractExecutor $executor, $backupFilePath)\n+    {\n+\n+    }\n+\n+    /**\n+     * Callback function to be executed before save of references\n+     *\n+     * @param ObjectManager $manager The object manager\n+     * @param AbstractExecutor $executor Executor of the data fixtures\n+     * @param string $backupFilePath Path of file used to backup the references of the data fixtures\n+     * @return WebTestCase\n      */\n-    protected function postFixtureRestore()","path":"Test/WebTestCase.php","position":95,"original_position":95,"commit_id":"bf12fabdf3b8c46eb17076ef06526026775831ab","original_commit_id":"bf12fabdf3b8c46eb17076ef06526026775831ab","user":{"login":"kniziol","id":947620,"avatar_url":"https://avatars.githubusercontent.com/u/947620?v=3","gravatar_id":"","url":"https://api.github.com/users/kniziol","html_url":"https://github.com/kniziol","followers_url":"https://api.github.com/users/kniziol/followers","following_url":"https://api.github.com/users/kniziol/following{/other_user}","gists_url":"https://api.github.com/users/kniziol/gists{/gist_id}","starred_url":"https://api.github.com/users/kniziol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kniziol/subscriptions","organizations_url":"https://api.github.com/users/kniziol/orgs","repos_url":"https://api.github.com/users/kniziol/repos","events_url":"https://api.github.com/users/kniziol/events{/privacy}","received_events_url":"https://api.github.com/users/kniziol/received_events","type":"User","site_admin":false},"body":"OKey, I will remove those arguments, but... it will be good to access instance of the ```ObjectManager``` or ```ProxyReferenceRepository``` directly in ```postFixtureRestore()``` method. What do you think about it?","created_at":"2015-02-16T20:09:24Z","updated_at":"2015-02-16T20:09:24Z","html_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/139#discussion_r24773048","pull_request_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139","_links":{"self":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/comments/24773048"},"html":{"href":"https://github.com/liip/LiipFunctionalTestBundle/pull/139#discussion_r24773048"},"pull_request":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139"}}},"pull_request":{"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139","id":28886611,"html_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/139","diff_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/139.diff","patch_url":"https://github.com/liip/LiipFunctionalTestBundle/pull/139.patch","issue_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/139","number":139,"state":"open","locked":false,"title":"WebTestCase: preFixtureRestore() method","user":{"login":"kniziol","id":947620,"avatar_url":"https://avatars.githubusercontent.com/u/947620?v=3","gravatar_id":"","url":"https://api.github.com/users/kniziol","html_url":"https://github.com/kniziol","followers_url":"https://api.github.com/users/kniziol/followers","following_url":"https://api.github.com/users/kniziol/following{/other_user}","gists_url":"https://api.github.com/users/kniziol/gists{/gist_id}","starred_url":"https://api.github.com/users/kniziol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kniziol/subscriptions","organizations_url":"https://api.github.com/users/kniziol/orgs","repos_url":"https://api.github.com/users/kniziol/repos","events_url":"https://api.github.com/users/kniziol/events{/privacy}","received_events_url":"https://api.github.com/users/kniziol/received_events","type":"User","site_admin":false},"body":"Executed **before** restore fixtures. Required to do something before load the fixtures.","created_at":"2015-02-08T21:03:15Z","updated_at":"2015-02-16T20:09:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"66c3135e05633973987e6a25f84d7f7293515f9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139/commits","review_comments_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139/comments","review_comment_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/139/comments","statuses_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/statuses/bf12fabdf3b8c46eb17076ef06526026775831ab","head":{"label":"kniziol:master","ref":"master","sha":"bf12fabdf3b8c46eb17076ef06526026775831ab","user":{"login":"kniziol","id":947620,"avatar_url":"https://avatars.githubusercontent.com/u/947620?v=3","gravatar_id":"","url":"https://api.github.com/users/kniziol","html_url":"https://github.com/kniziol","followers_url":"https://api.github.com/users/kniziol/followers","following_url":"https://api.github.com/users/kniziol/following{/other_user}","gists_url":"https://api.github.com/users/kniziol/gists{/gist_id}","starred_url":"https://api.github.com/users/kniziol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kniziol/subscriptions","organizations_url":"https://api.github.com/users/kniziol/orgs","repos_url":"https://api.github.com/users/kniziol/repos","events_url":"https://api.github.com/users/kniziol/events{/privacy}","received_events_url":"https://api.github.com/users/kniziol/received_events","type":"User","site_admin":false},"repo":{"id":30504989,"name":"LiipFunctionalTestBundle","full_name":"kniziol/LiipFunctionalTestBundle","owner":{"login":"kniziol","id":947620,"avatar_url":"https://avatars.githubusercontent.com/u/947620?v=3","gravatar_id":"","url":"https://api.github.com/users/kniziol","html_url":"https://github.com/kniziol","followers_url":"https://api.github.com/users/kniziol/followers","following_url":"https://api.github.com/users/kniziol/following{/other_user}","gists_url":"https://api.github.com/users/kniziol/gists{/gist_id}","starred_url":"https://api.github.com/users/kniziol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kniziol/subscriptions","organizations_url":"https://api.github.com/users/kniziol/orgs","repos_url":"https://api.github.com/users/kniziol/repos","events_url":"https://api.github.com/users/kniziol/events{/privacy}","received_events_url":"https://api.github.com/users/kniziol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kniziol/LiipFunctionalTestBundle","description":"Some helper classes for writing functional tests in Symfony2","fork":true,"url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle","forks_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/forks","keys_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/teams","hooks_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/hooks","issue_events_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/events","assignees_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/tags","blobs_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/languages","stargazers_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/stargazers","contributors_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/contributors","subscribers_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/subscribers","subscription_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/subscription","commits_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/merges","archive_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/downloads","issues_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/labels{/name}","releases_url":"https://api.github.com/repos/kniziol/LiipFunctionalTestBundle/releases{/id}","created_at":"2015-02-08T20:40:33Z","updated_at":"2015-02-13T16:54:19Z","pushed_at":"2015-02-13T16:54:19Z","git_url":"git://github.com/kniziol/LiipFunctionalTestBundle.git","ssh_url":"git@github.com:kniziol/LiipFunctionalTestBundle.git","clone_url":"https://github.com/kniziol/LiipFunctionalTestBundle.git","svn_url":"https://github.com/kniziol/LiipFunctionalTestBundle","homepage":"http://liip.ch","size":269,"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":"liip:master","ref":"master","sha":"8844cb97371d366883eb2cfe2b8bf944f701e7ae","user":{"login":"liip","id":166102,"avatar_url":"https://avatars.githubusercontent.com/u/166102?v=3","gravatar_id":"","url":"https://api.github.com/users/liip","html_url":"https://github.com/liip","followers_url":"https://api.github.com/users/liip/followers","following_url":"https://api.github.com/users/liip/following{/other_user}","gists_url":"https://api.github.com/users/liip/gists{/gist_id}","starred_url":"https://api.github.com/users/liip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liip/subscriptions","organizations_url":"https://api.github.com/users/liip/orgs","repos_url":"https://api.github.com/users/liip/repos","events_url":"https://api.github.com/users/liip/events{/privacy}","received_events_url":"https://api.github.com/users/liip/received_events","type":"Organization","site_admin":false},"repo":{"id":1197537,"name":"LiipFunctionalTestBundle","full_name":"liip/LiipFunctionalTestBundle","owner":{"login":"liip","id":166102,"avatar_url":"https://avatars.githubusercontent.com/u/166102?v=3","gravatar_id":"","url":"https://api.github.com/users/liip","html_url":"https://github.com/liip","followers_url":"https://api.github.com/users/liip/followers","following_url":"https://api.github.com/users/liip/following{/other_user}","gists_url":"https://api.github.com/users/liip/gists{/gist_id}","starred_url":"https://api.github.com/users/liip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liip/subscriptions","organizations_url":"https://api.github.com/users/liip/orgs","repos_url":"https://api.github.com/users/liip/repos","events_url":"https://api.github.com/users/liip/events{/privacy}","received_events_url":"https://api.github.com/users/liip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/liip/LiipFunctionalTestBundle","description":"Some helper classes for writing functional tests in Symfony2","fork":false,"url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle","forks_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/forks","keys_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/teams","hooks_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/hooks","issue_events_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/events","assignees_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/tags","blobs_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/languages","stargazers_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/stargazers","contributors_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/contributors","subscribers_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/subscribers","subscription_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/subscription","commits_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/merges","archive_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/downloads","issues_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/labels{/name}","releases_url":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/releases{/id}","created_at":"2010-12-25T18:58:03Z","updated_at":"2015-01-30T12:16:04Z","pushed_at":"2015-01-26T15:21:27Z","git_url":"git://github.com/liip/LiipFunctionalTestBundle.git","ssh_url":"git@github.com:liip/LiipFunctionalTestBundle.git","clone_url":"https://github.com/liip/LiipFunctionalTestBundle.git","svn_url":"https://github.com/liip/LiipFunctionalTestBundle","homepage":"http://liip.ch","size":533,"stargazers_count":210,"watchers_count":210,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":15,"forks":70,"open_issues":15,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139"},"html":{"href":"https://github.com/liip/LiipFunctionalTestBundle/pull/139"},"issue":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/139"},"comments":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/liip/LiipFunctionalTestBundle/statuses/bf12fabdf3b8c46eb17076ef06526026775831ab"}}}}