{"action":"created","comment":{"url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/comments/24003874","id":24003874,"diff_hunk":"@@ -0,0 +1,28 @@\n+==============\n+StorageManager\n+==============\n+\n+All commands required for the storage are executing by ``StorageManager``. It has 4 functions that need to be implemented by any type of\n+``StorageManager``:\n+\n+- to create a storage;\n+- to add a record to the storage or update existing one with new date and time;\n+- remove a record from storage;\n+- to get data from the storage.\n+\n+Every function can work with multiple shops. ``MysqlStorageManager`` is a default manager.","path":"Resources/doc/Sync/StorageManager/storage_manager.rst","position":13,"original_position":13,"commit_id":"dbe62ef76f6886325d66e940ea9cdcf3aff3a7b1","original_commit_id":"dbe62ef76f6886325d66e940ea9cdcf3aff3a7b1","user":{"login":"mindaugasbarysas","id":9528837,"avatar_url":"https://avatars.githubusercontent.com/u/9528837?v=3","gravatar_id":"","url":"https://api.github.com/users/mindaugasbarysas","html_url":"https://github.com/mindaugasbarysas","followers_url":"https://api.github.com/users/mindaugasbarysas/followers","following_url":"https://api.github.com/users/mindaugasbarysas/following{/other_user}","gists_url":"https://api.github.com/users/mindaugasbarysas/gists{/gist_id}","starred_url":"https://api.github.com/users/mindaugasbarysas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindaugasbarysas/subscriptions","organizations_url":"https://api.github.com/users/mindaugasbarysas/orgs","repos_url":"https://api.github.com/users/mindaugasbarysas/repos","events_url":"https://api.github.com/users/mindaugasbarysas/events{/privacy}","received_events_url":"https://api.github.com/users/mindaugasbarysas/received_events","type":"User","site_admin":false},"body":"``MysqlStorageManager`` is the default manager.","created_at":"2015-02-03T13:47:59Z","updated_at":"2015-02-03T13:47:59Z","html_url":"https://github.com/ongr-io/ConnectionsBundle/pull/141#discussion_r24003874","pull_request_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141","_links":{"self":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/comments/24003874"},"html":{"href":"https://github.com/ongr-io/ConnectionsBundle/pull/141#discussion_r24003874"},"pull_request":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141"}}},"pull_request":{"url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141","id":28552555,"html_url":"https://github.com/ongr-io/ConnectionsBundle/pull/141","diff_url":"https://github.com/ongr-io/ConnectionsBundle/pull/141.diff","patch_url":"https://github.com/ongr-io/ConnectionsBundle/pull/141.patch","issue_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/141","number":141,"state":"open","locked":false,"title":"Add StorageManager documentation.","user":{"login":"gyKa","id":1000842,"avatar_url":"https://avatars.githubusercontent.com/u/1000842?v=3","gravatar_id":"","url":"https://api.github.com/users/gyKa","html_url":"https://github.com/gyKa","followers_url":"https://api.github.com/users/gyKa/followers","following_url":"https://api.github.com/users/gyKa/following{/other_user}","gists_url":"https://api.github.com/users/gyKa/gists{/gist_id}","starred_url":"https://api.github.com/users/gyKa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyKa/subscriptions","organizations_url":"https://api.github.com/users/gyKa/orgs","repos_url":"https://api.github.com/users/gyKa/repos","events_url":"https://api.github.com/users/gyKa/events{/privacy}","received_events_url":"https://api.github.com/users/gyKa/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-03T13:39:48Z","updated_at":"2015-02-03T13:48:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a497617b5401159ad7742ed7cb01d27618f88b19","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141/commits","review_comments_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141/comments","review_comment_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/141/comments","statuses_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/statuses/dbe62ef76f6886325d66e940ea9cdcf3aff3a7b1","head":{"label":"gyKa:add-storage-manager-doc","ref":"add-storage-manager-doc","sha":"dbe62ef76f6886325d66e940ea9cdcf3aff3a7b1","user":{"login":"gyKa","id":1000842,"avatar_url":"https://avatars.githubusercontent.com/u/1000842?v=3","gravatar_id":"","url":"https://api.github.com/users/gyKa","html_url":"https://github.com/gyKa","followers_url":"https://api.github.com/users/gyKa/followers","following_url":"https://api.github.com/users/gyKa/following{/other_user}","gists_url":"https://api.github.com/users/gyKa/gists{/gist_id}","starred_url":"https://api.github.com/users/gyKa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyKa/subscriptions","organizations_url":"https://api.github.com/users/gyKa/orgs","repos_url":"https://api.github.com/users/gyKa/repos","events_url":"https://api.github.com/users/gyKa/events{/privacy}","received_events_url":"https://api.github.com/users/gyKa/received_events","type":"User","site_admin":false},"repo":{"id":29020999,"name":"ConnectionsBundle","full_name":"gyKa/ConnectionsBundle","owner":{"login":"gyKa","id":1000842,"avatar_url":"https://avatars.githubusercontent.com/u/1000842?v=3","gravatar_id":"","url":"https://api.github.com/users/gyKa","html_url":"https://github.com/gyKa","followers_url":"https://api.github.com/users/gyKa/followers","following_url":"https://api.github.com/users/gyKa/following{/other_user}","gists_url":"https://api.github.com/users/gyKa/gists{/gist_id}","starred_url":"https://api.github.com/users/gyKa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gyKa/subscriptions","organizations_url":"https://api.github.com/users/gyKa/orgs","repos_url":"https://api.github.com/users/gyKa/repos","events_url":"https://api.github.com/users/gyKa/events{/privacy}","received_events_url":"https://api.github.com/users/gyKa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gyKa/ConnectionsBundle","description":"Data synchronisation and import functionality for ONGR","fork":true,"url":"https://api.github.com/repos/gyKa/ConnectionsBundle","forks_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/forks","keys_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/teams","hooks_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/hooks","issue_events_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/issues/events{/number}","events_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/events","assignees_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/assignees{/user}","branches_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/branches{/branch}","tags_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/tags","blobs_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/languages","stargazers_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/stargazers","contributors_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/contributors","subscribers_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/subscribers","subscription_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/subscription","commits_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/contents/{+path}","compare_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/merges","archive_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/downloads","issues_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/issues{/number}","pulls_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/labels{/name}","releases_url":"https://api.github.com/repos/gyKa/ConnectionsBundle/releases{/id}","created_at":"2015-01-09T15:04:36Z","updated_at":"2015-02-02T08:47:26Z","pushed_at":"2015-02-03T13:38:35Z","git_url":"git://github.com/gyKa/ConnectionsBundle.git","ssh_url":"git@github.com:gyKa/ConnectionsBundle.git","clone_url":"https://github.com/gyKa/ConnectionsBundle.git","svn_url":"https://github.com/gyKa/ConnectionsBundle","homepage":null,"size":625,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ongr-io:master","ref":"master","sha":"d3bed82815664019e8a318ed1fc3c6d71c4978e7","user":{"login":"ongr-io","id":8971056,"avatar_url":"https://avatars.githubusercontent.com/u/8971056?v=3","gravatar_id":"","url":"https://api.github.com/users/ongr-io","html_url":"https://github.com/ongr-io","followers_url":"https://api.github.com/users/ongr-io/followers","following_url":"https://api.github.com/users/ongr-io/following{/other_user}","gists_url":"https://api.github.com/users/ongr-io/gists{/gist_id}","starred_url":"https://api.github.com/users/ongr-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ongr-io/subscriptions","organizations_url":"https://api.github.com/users/ongr-io/orgs","repos_url":"https://api.github.com/users/ongr-io/repos","events_url":"https://api.github.com/users/ongr-io/events{/privacy}","received_events_url":"https://api.github.com/users/ongr-io/received_events","type":"Organization","site_admin":false},"repo":{"id":27768781,"name":"ConnectionsBundle","full_name":"ongr-io/ConnectionsBundle","owner":{"login":"ongr-io","id":8971056,"avatar_url":"https://avatars.githubusercontent.com/u/8971056?v=3","gravatar_id":"","url":"https://api.github.com/users/ongr-io","html_url":"https://github.com/ongr-io","followers_url":"https://api.github.com/users/ongr-io/followers","following_url":"https://api.github.com/users/ongr-io/following{/other_user}","gists_url":"https://api.github.com/users/ongr-io/gists{/gist_id}","starred_url":"https://api.github.com/users/ongr-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ongr-io/subscriptions","organizations_url":"https://api.github.com/users/ongr-io/orgs","repos_url":"https://api.github.com/users/ongr-io/repos","events_url":"https://api.github.com/users/ongr-io/events{/privacy}","received_events_url":"https://api.github.com/users/ongr-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ongr-io/ConnectionsBundle","description":"Data synchronisation and import functionality for ONGR","fork":false,"url":"https://api.github.com/repos/ongr-io/ConnectionsBundle","forks_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/forks","keys_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/teams","hooks_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/hooks","issue_events_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/events{/number}","events_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/events","assignees_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/assignees{/user}","branches_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/branches{/branch}","tags_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/tags","blobs_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/languages","stargazers_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/stargazers","contributors_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/contributors","subscribers_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/subscribers","subscription_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/subscription","commits_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/contents/{+path}","compare_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/merges","archive_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/downloads","issues_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues{/number}","pulls_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/labels{/name}","releases_url":"https://api.github.com/repos/ongr-io/ConnectionsBundle/releases{/id}","created_at":"2014-12-09T13:52:39Z","updated_at":"2015-02-02T13:20:59Z","pushed_at":"2015-02-02T13:43:33Z","git_url":"git://github.com/ongr-io/ConnectionsBundle.git","ssh_url":"git@github.com:ongr-io/ConnectionsBundle.git","clone_url":"https://github.com/ongr-io/ConnectionsBundle.git","svn_url":"https://github.com/ongr-io/ConnectionsBundle","homepage":null,"size":1644,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":13,"forks":11,"open_issues":13,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141"},"html":{"href":"https://github.com/ongr-io/ConnectionsBundle/pull/141"},"issue":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/141"},"comments":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/ongr-io/ConnectionsBundle/statuses/dbe62ef76f6886325d66e940ea9cdcf3aff3a7b1"}}}}