{"action":"created","comment":{"url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/comments/44211282","id":44211282,"diff_hunk":"@@ -0,0 +1,272 @@\n+Basic Usage\n+===========\n+\n+InventoryOperator\n+-----------------\n+\n+The **InventoryOperator** provides basic operations on your inventory.\n+\n+.. code:: php\n+\n+    <?php\n+\n+    use Sylius\\Component\\Inventory\\Operator\\InventoryOperator;\n+    use Sylius\\Component\\Inventory\\Checker\\AvailabilityChecker;\n+    use Sylius\\Component\\Inventory\\Operator\\BackordersHandler;\n+\n+    $inventoryUnitRepository; //Repository model.\n+    $stockable; //Stockable model.\n+    $eventDispatcher; //It gives possibilty to hook before or after each operation.","path":"components/Inventory/basic_usage.rst","position":19,"original_position":19,"commit_id":"e0d4ec3073416b903dd8c01fe5e00a7acabfa662","original_commit_id":"e0d4ec3073416b903dd8c01fe5e00a7acabfa662","user":{"login":"TheMadeleine","id":13198869,"avatar_url":"https://avatars.githubusercontent.com/u/13198869?v=3","gravatar_id":"","url":"https://api.github.com/users/TheMadeleine","html_url":"https://github.com/TheMadeleine","followers_url":"https://api.github.com/users/TheMadeleine/followers","following_url":"https://api.github.com/users/TheMadeleine/following{/other_user}","gists_url":"https://api.github.com/users/TheMadeleine/gists{/gist_id}","starred_url":"https://api.github.com/users/TheMadeleine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheMadeleine/subscriptions","organizations_url":"https://api.github.com/users/TheMadeleine/orgs","repos_url":"https://api.github.com/users/TheMadeleine/repos","events_url":"https://api.github.com/users/TheMadeleine/events{/privacy}","received_events_url":"https://api.github.com/users/TheMadeleine/received_events","type":"User","site_admin":false},"body":"It gives **a** possibility [...]","created_at":"2015-11-07T11:31:03Z","updated_at":"2015-11-07T11:31:03Z","html_url":"https://github.com/Sylius/Sylius-Docs/pull/353#discussion_r44211282","pull_request_url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353","_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/comments/44211282"},"html":{"href":"https://github.com/Sylius/Sylius-Docs/pull/353#discussion_r44211282"},"pull_request":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353"}}},"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353","id":49864097,"html_url":"https://github.com/Sylius/Sylius-Docs/pull/353","diff_url":"https://github.com/Sylius/Sylius-Docs/pull/353.diff","patch_url":"https://github.com/Sylius/Sylius-Docs/pull/353.patch","issue_url":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/353","number":353,"state":"open","locked":false,"title":"[Inventory] Documentation of Inventory component","user":{"login":"Arminek","id":6368946,"avatar_url":"https://avatars.githubusercontent.com/u/6368946?v=3","gravatar_id":"","url":"https://api.github.com/users/Arminek","html_url":"https://github.com/Arminek","followers_url":"https://api.github.com/users/Arminek/followers","following_url":"https://api.github.com/users/Arminek/following{/other_user}","gists_url":"https://api.github.com/users/Arminek/gists{/gist_id}","starred_url":"https://api.github.com/users/Arminek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arminek/subscriptions","organizations_url":"https://api.github.com/users/Arminek/orgs","repos_url":"https://api.github.com/users/Arminek/repos","events_url":"https://api.github.com/users/Arminek/events{/privacy}","received_events_url":"https://api.github.com/users/Arminek/received_events","type":"User","site_admin":false},"body":"| Q                    | A\r\n| -------------------| ---\r\n| Doc fix?          | [yes]\r\n| New docs?     | [no] \r\n| Fixed tickets   | [no]","created_at":"2015-11-05T18:50:23Z","updated_at":"2015-11-07T11:31:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8a26b02d070867821cb056a9a811126169032ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353/commits","review_comments_url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353/comments","review_comment_url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/353/comments","statuses_url":"https://api.github.com/repos/Sylius/Sylius-Docs/statuses/e0d4ec3073416b903dd8c01fe5e00a7acabfa662","head":{"label":"Arminek:sylius-inventory-component","ref":"sylius-inventory-component","sha":"e0d4ec3073416b903dd8c01fe5e00a7acabfa662","user":{"login":"Arminek","id":6368946,"avatar_url":"https://avatars.githubusercontent.com/u/6368946?v=3","gravatar_id":"","url":"https://api.github.com/users/Arminek","html_url":"https://github.com/Arminek","followers_url":"https://api.github.com/users/Arminek/followers","following_url":"https://api.github.com/users/Arminek/following{/other_user}","gists_url":"https://api.github.com/users/Arminek/gists{/gist_id}","starred_url":"https://api.github.com/users/Arminek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arminek/subscriptions","organizations_url":"https://api.github.com/users/Arminek/orgs","repos_url":"https://api.github.com/users/Arminek/repos","events_url":"https://api.github.com/users/Arminek/events{/privacy}","received_events_url":"https://api.github.com/users/Arminek/received_events","type":"User","site_admin":false},"repo":{"id":44026694,"name":"Sylius-Docs","full_name":"Arminek/Sylius-Docs","owner":{"login":"Arminek","id":6368946,"avatar_url":"https://avatars.githubusercontent.com/u/6368946?v=3","gravatar_id":"","url":"https://api.github.com/users/Arminek","html_url":"https://github.com/Arminek","followers_url":"https://api.github.com/users/Arminek/followers","following_url":"https://api.github.com/users/Arminek/following{/other_user}","gists_url":"https://api.github.com/users/Arminek/gists{/gist_id}","starred_url":"https://api.github.com/users/Arminek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arminek/subscriptions","organizations_url":"https://api.github.com/users/Arminek/orgs","repos_url":"https://api.github.com/users/Arminek/repos","events_url":"https://api.github.com/users/Arminek/events{/privacy}","received_events_url":"https://api.github.com/users/Arminek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Arminek/Sylius-Docs","description":"Official documentation repository, hosted on readthedocs.org.","fork":true,"url":"https://api.github.com/repos/Arminek/Sylius-Docs","forks_url":"https://api.github.com/repos/Arminek/Sylius-Docs/forks","keys_url":"https://api.github.com/repos/Arminek/Sylius-Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Arminek/Sylius-Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Arminek/Sylius-Docs/teams","hooks_url":"https://api.github.com/repos/Arminek/Sylius-Docs/hooks","issue_events_url":"https://api.github.com/repos/Arminek/Sylius-Docs/issues/events{/number}","events_url":"https://api.github.com/repos/Arminek/Sylius-Docs/events","assignees_url":"https://api.github.com/repos/Arminek/Sylius-Docs/assignees{/user}","branches_url":"https://api.github.com/repos/Arminek/Sylius-Docs/branches{/branch}","tags_url":"https://api.github.com/repos/Arminek/Sylius-Docs/tags","blobs_url":"https://api.github.com/repos/Arminek/Sylius-Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Arminek/Sylius-Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Arminek/Sylius-Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Arminek/Sylius-Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Arminek/Sylius-Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Arminek/Sylius-Docs/languages","stargazers_url":"https://api.github.com/repos/Arminek/Sylius-Docs/stargazers","contributors_url":"https://api.github.com/repos/Arminek/Sylius-Docs/contributors","subscribers_url":"https://api.github.com/repos/Arminek/Sylius-Docs/subscribers","subscription_url":"https://api.github.com/repos/Arminek/Sylius-Docs/subscription","commits_url":"https://api.github.com/repos/Arminek/Sylius-Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Arminek/Sylius-Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Arminek/Sylius-Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Arminek/Sylius-Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Arminek/Sylius-Docs/contents/{+path}","compare_url":"https://api.github.com/repos/Arminek/Sylius-Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Arminek/Sylius-Docs/merges","archive_url":"https://api.github.com/repos/Arminek/Sylius-Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Arminek/Sylius-Docs/downloads","issues_url":"https://api.github.com/repos/Arminek/Sylius-Docs/issues{/number}","pulls_url":"https://api.github.com/repos/Arminek/Sylius-Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Arminek/Sylius-Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Arminek/Sylius-Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Arminek/Sylius-Docs/labels{/name}","releases_url":"https://api.github.com/repos/Arminek/Sylius-Docs/releases{/id}","created_at":"2015-10-10T20:18:32Z","updated_at":"2015-10-10T20:18:33Z","pushed_at":"2015-11-06T11:01:11Z","git_url":"git://github.com/Arminek/Sylius-Docs.git","ssh_url":"git@github.com:Arminek/Sylius-Docs.git","clone_url":"https://github.com/Arminek/Sylius-Docs.git","svn_url":"https://github.com/Arminek/Sylius-Docs","homepage":"Sylius.org","size":1161,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"Sylius:master","ref":"master","sha":"ba7d6c3e80b2734c660df1d046e6d3e65ca24588","user":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"repo":{"id":2892960,"name":"Sylius-Docs","full_name":"Sylius/Sylius-Docs","owner":{"login":"Sylius","id":719423,"avatar_url":"https://avatars.githubusercontent.com/u/719423?v=3","gravatar_id":"","url":"https://api.github.com/users/Sylius","html_url":"https://github.com/Sylius","followers_url":"https://api.github.com/users/Sylius/followers","following_url":"https://api.github.com/users/Sylius/following{/other_user}","gists_url":"https://api.github.com/users/Sylius/gists{/gist_id}","starred_url":"https://api.github.com/users/Sylius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sylius/subscriptions","organizations_url":"https://api.github.com/users/Sylius/orgs","repos_url":"https://api.github.com/users/Sylius/repos","events_url":"https://api.github.com/users/Sylius/events{/privacy}","received_events_url":"https://api.github.com/users/Sylius/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Sylius/Sylius-Docs","description":"Official documentation repository, hosted on readthedocs.org.","fork":false,"url":"https://api.github.com/repos/Sylius/Sylius-Docs","forks_url":"https://api.github.com/repos/Sylius/Sylius-Docs/forks","keys_url":"https://api.github.com/repos/Sylius/Sylius-Docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sylius/Sylius-Docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sylius/Sylius-Docs/teams","hooks_url":"https://api.github.com/repos/Sylius/Sylius-Docs/hooks","issue_events_url":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/events{/number}","events_url":"https://api.github.com/repos/Sylius/Sylius-Docs/events","assignees_url":"https://api.github.com/repos/Sylius/Sylius-Docs/assignees{/user}","branches_url":"https://api.github.com/repos/Sylius/Sylius-Docs/branches{/branch}","tags_url":"https://api.github.com/repos/Sylius/Sylius-Docs/tags","blobs_url":"https://api.github.com/repos/Sylius/Sylius-Docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sylius/Sylius-Docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sylius/Sylius-Docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sylius/Sylius-Docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sylius/Sylius-Docs/statuses/{sha}","languages_url":"https://api.github.com/repos/Sylius/Sylius-Docs/languages","stargazers_url":"https://api.github.com/repos/Sylius/Sylius-Docs/stargazers","contributors_url":"https://api.github.com/repos/Sylius/Sylius-Docs/contributors","subscribers_url":"https://api.github.com/repos/Sylius/Sylius-Docs/subscribers","subscription_url":"https://api.github.com/repos/Sylius/Sylius-Docs/subscription","commits_url":"https://api.github.com/repos/Sylius/Sylius-Docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sylius/Sylius-Docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sylius/Sylius-Docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sylius/Sylius-Docs/contents/{+path}","compare_url":"https://api.github.com/repos/Sylius/Sylius-Docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sylius/Sylius-Docs/merges","archive_url":"https://api.github.com/repos/Sylius/Sylius-Docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sylius/Sylius-Docs/downloads","issues_url":"https://api.github.com/repos/Sylius/Sylius-Docs/issues{/number}","pulls_url":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls{/number}","milestones_url":"https://api.github.com/repos/Sylius/Sylius-Docs/milestones{/number}","notifications_url":"https://api.github.com/repos/Sylius/Sylius-Docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sylius/Sylius-Docs/labels{/name}","releases_url":"https://api.github.com/repos/Sylius/Sylius-Docs/releases{/id}","created_at":"2011-12-01T17:58:56Z","updated_at":"2015-11-06T09:15:36Z","pushed_at":"2015-11-06T19:38:48Z","git_url":"git://github.com/Sylius/Sylius-Docs.git","ssh_url":"git@github.com:Sylius/Sylius-Docs.git","clone_url":"https://github.com/Sylius/Sylius-Docs.git","svn_url":"https://github.com/Sylius/Sylius-Docs","homepage":"Sylius.org","size":3607,"stargazers_count":54,"watchers_count":54,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":127,"mirror_url":null,"open_issues_count":47,"forks":127,"open_issues":47,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353"},"html":{"href":"https://github.com/Sylius/Sylius-Docs/pull/353"},"issue":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/353"},"comments":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/issues/353/comments"},"review_comments":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353/comments"},"review_comment":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/pulls/353/commits"},"statuses":{"href":"https://api.github.com/repos/Sylius/Sylius-Docs/statuses/e0d4ec3073416b903dd8c01fe5e00a7acabfa662"}}}}