{"action":"created","comment":{"url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/comments/245181014","pull_request_review_id":189240297,"id":245181014,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTE4MTAxNA==","diff_hunk":"@@ -0,0 +1,59 @@\n+<?php declare(strict_types=1);\n+\n+namespace App\\Repositories\\Interfaces;\n+\n+use Illuminate\\Database\\Eloquent\\Collection;\n+\n+/**\n+ * Interface Common\n+ *\n+ * This interface contain the common firm for methods.\n+ * All methods are common to all Database Entity.\n+ */\n+interface Common\n+{\n+    /**\n+     * Get all records.\n+     *\n+     * @return Collection\n+     */\n+    public function getAll(): Collection;\n+\n+    /**\n+     * Get the specified record.\n+     *\n+     * @param $id\n+     *\n+     * @return Collection\n+     */\n+     public function getById($id): array;\n+\n+    /**\n+     * Create a new record.\n+     *\n+     * @param array $attributes\n+     *\n+     * @return mixed\n+     */\n+     public function create(array $attributes);\n+\n+    /**\n+     * Update a specified record.\n+     *\n+     * @param $id\n+     * @param array $attributes\n+     *\n+     * @return mixed\n+     */\n+     public function update($id, array $attributes);\n+\n+    /**\n+     * Delete a specified record.\n+     *\n+     * @param $id\n+     *\n+     * @return bool\n+     */\n+     public function delete($id): bool;","path":"back-end/app/Repositories/Interfaces/Common.php","position":57,"original_position":57,"commit_id":"0dbebad5f334426d0ae68c76235f93d9544859a3","original_commit_id":"0dbebad5f334426d0ae68c76235f93d9544859a3","user":{"login":"ptesser","id":6043846,"node_id":"MDQ6VXNlcjYwNDM4NDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6043846?v=4","gravatar_id":"","url":"https://api.github.com/users/ptesser","html_url":"https://github.com/ptesser","followers_url":"https://api.github.com/users/ptesser/followers","following_url":"https://api.github.com/users/ptesser/following{/other_user}","gists_url":"https://api.github.com/users/ptesser/gists{/gist_id}","starred_url":"https://api.github.com/users/ptesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptesser/subscriptions","organizations_url":"https://api.github.com/users/ptesser/orgs","repos_url":"https://api.github.com/users/ptesser/repos","events_url":"https://api.github.com/users/ptesser/events{/privacy}","received_events_url":"https://api.github.com/users/ptesser/received_events","type":"User","site_admin":false},"body":"Aggiungere tipo","created_at":"2019-01-04T01:12:24Z","updated_at":"2019-01-04T01:17:18Z","html_url":"https://github.com/Hopstok/rock-recepies/pull/18#discussion_r245181014","pull_request_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/comments/245181014"},"html":{"href":"https://github.com/Hopstok/rock-recepies/pull/18#discussion_r245181014"},"pull_request":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18","id":238979732,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTc5NzMy","html_url":"https://github.com/Hopstok/rock-recepies/pull/18","diff_url":"https://github.com/Hopstok/rock-recepies/pull/18.diff","patch_url":"https://github.com/Hopstok/rock-recepies/pull/18.patch","issue_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/18","number":18,"state":"open","locked":false,"title":"WIP Implement new structure","user":{"login":"Vannnu","id":10442078,"node_id":"MDQ6VXNlcjEwNDQyMDc4","avatar_url":"https://avatars1.githubusercontent.com/u/10442078?v=4","gravatar_id":"","url":"https://api.github.com/users/Vannnu","html_url":"https://github.com/Vannnu","followers_url":"https://api.github.com/users/Vannnu/followers","following_url":"https://api.github.com/users/Vannnu/following{/other_user}","gists_url":"https://api.github.com/users/Vannnu/gists{/gist_id}","starred_url":"https://api.github.com/users/Vannnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vannnu/subscriptions","organizations_url":"https://api.github.com/users/Vannnu/orgs","repos_url":"https://api.github.com/users/Vannnu/repos","events_url":"https://api.github.com/users/Vannnu/events{/privacy}","received_events_url":"https://api.github.com/users/Vannnu/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce?**\r\nFeature\r\n\r\n**What is the new behavior?**\r\nNew Model Structure and more...\r\n\r\n**Does this PR introduce a breaking change?**\r\nNo\r\n\r\n**Other information**:\r\nN/A","created_at":"2018-12-16T17:38:22Z","updated_at":"2019-01-04T01:17:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bed87bcf57bd3808c121c1e4940339e6544ca807","assignee":{"login":"Vannnu","id":10442078,"node_id":"MDQ6VXNlcjEwNDQyMDc4","avatar_url":"https://avatars1.githubusercontent.com/u/10442078?v=4","gravatar_id":"","url":"https://api.github.com/users/Vannnu","html_url":"https://github.com/Vannnu","followers_url":"https://api.github.com/users/Vannnu/followers","following_url":"https://api.github.com/users/Vannnu/following{/other_user}","gists_url":"https://api.github.com/users/Vannnu/gists{/gist_id}","starred_url":"https://api.github.com/users/Vannnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vannnu/subscriptions","organizations_url":"https://api.github.com/users/Vannnu/orgs","repos_url":"https://api.github.com/users/Vannnu/repos","events_url":"https://api.github.com/users/Vannnu/events{/privacy}","received_events_url":"https://api.github.com/users/Vannnu/received_events","type":"User","site_admin":false},"assignees":[{"login":"Vannnu","id":10442078,"node_id":"MDQ6VXNlcjEwNDQyMDc4","avatar_url":"https://avatars1.githubusercontent.com/u/10442078?v=4","gravatar_id":"","url":"https://api.github.com/users/Vannnu","html_url":"https://github.com/Vannnu","followers_url":"https://api.github.com/users/Vannnu/followers","following_url":"https://api.github.com/users/Vannnu/following{/other_user}","gists_url":"https://api.github.com/users/Vannnu/gists{/gist_id}","starred_url":"https://api.github.com/users/Vannnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vannnu/subscriptions","organizations_url":"https://api.github.com/users/Vannnu/orgs","repos_url":"https://api.github.com/users/Vannnu/repos","events_url":"https://api.github.com/users/Vannnu/events{/privacy}","received_events_url":"https://api.github.com/users/Vannnu/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":570982245,"node_id":"MDU6TGFiZWw1NzA5ODIyNDU=","url":"https://api.github.com/repos/Hopstok/rock-recepies/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18/commits","review_comments_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18/comments","review_comment_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/18/comments","statuses_url":"https://api.github.com/repos/Hopstok/rock-recepies/statuses/0dbebad5f334426d0ae68c76235f93d9544859a3","head":{"label":"Hopstok:feature/newStructure","ref":"feature/newStructure","sha":"0dbebad5f334426d0ae68c76235f93d9544859a3","user":{"login":"Hopstok","id":26737366,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzM3MzY2","avatar_url":"https://avatars1.githubusercontent.com/u/26737366?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopstok","html_url":"https://github.com/Hopstok","followers_url":"https://api.github.com/users/Hopstok/followers","following_url":"https://api.github.com/users/Hopstok/following{/other_user}","gists_url":"https://api.github.com/users/Hopstok/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopstok/subscriptions","organizations_url":"https://api.github.com/users/Hopstok/orgs","repos_url":"https://api.github.com/users/Hopstok/repos","events_url":"https://api.github.com/users/Hopstok/events{/privacy}","received_events_url":"https://api.github.com/users/Hopstok/received_events","type":"Organization","site_admin":false},"repo":{"id":86441851,"node_id":"MDEwOlJlcG9zaXRvcnk4NjQ0MTg1MQ==","name":"rock-recepies","full_name":"Hopstok/rock-recepies","private":false,"owner":{"login":"Hopstok","id":26737366,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzM3MzY2","avatar_url":"https://avatars1.githubusercontent.com/u/26737366?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopstok","html_url":"https://github.com/Hopstok","followers_url":"https://api.github.com/users/Hopstok/followers","following_url":"https://api.github.com/users/Hopstok/following{/other_user}","gists_url":"https://api.github.com/users/Hopstok/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopstok/subscriptions","organizations_url":"https://api.github.com/users/Hopstok/orgs","repos_url":"https://api.github.com/users/Hopstok/repos","events_url":"https://api.github.com/users/Hopstok/events{/privacy}","received_events_url":"https://api.github.com/users/Hopstok/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Hopstok/rock-recepies","description":"This repository has been created for a simple project use to learn Angular and improve skills on Laravel 5","fork":false,"url":"https://api.github.com/repos/Hopstok/rock-recepies","forks_url":"https://api.github.com/repos/Hopstok/rock-recepies/forks","keys_url":"https://api.github.com/repos/Hopstok/rock-recepies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hopstok/rock-recepies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hopstok/rock-recepies/teams","hooks_url":"https://api.github.com/repos/Hopstok/rock-recepies/hooks","issue_events_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/events{/number}","events_url":"https://api.github.com/repos/Hopstok/rock-recepies/events","assignees_url":"https://api.github.com/repos/Hopstok/rock-recepies/assignees{/user}","branches_url":"https://api.github.com/repos/Hopstok/rock-recepies/branches{/branch}","tags_url":"https://api.github.com/repos/Hopstok/rock-recepies/tags","blobs_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hopstok/rock-recepies/statuses/{sha}","languages_url":"https://api.github.com/repos/Hopstok/rock-recepies/languages","stargazers_url":"https://api.github.com/repos/Hopstok/rock-recepies/stargazers","contributors_url":"https://api.github.com/repos/Hopstok/rock-recepies/contributors","subscribers_url":"https://api.github.com/repos/Hopstok/rock-recepies/subscribers","subscription_url":"https://api.github.com/repos/Hopstok/rock-recepies/subscription","commits_url":"https://api.github.com/repos/Hopstok/rock-recepies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hopstok/rock-recepies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hopstok/rock-recepies/contents/{+path}","compare_url":"https://api.github.com/repos/Hopstok/rock-recepies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hopstok/rock-recepies/merges","archive_url":"https://api.github.com/repos/Hopstok/rock-recepies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hopstok/rock-recepies/downloads","issues_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues{/number}","pulls_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls{/number}","milestones_url":"https://api.github.com/repos/Hopstok/rock-recepies/milestones{/number}","notifications_url":"https://api.github.com/repos/Hopstok/rock-recepies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hopstok/rock-recepies/labels{/name}","releases_url":"https://api.github.com/repos/Hopstok/rock-recepies/releases{/id}","deployments_url":"https://api.github.com/repos/Hopstok/rock-recepies/deployments","created_at":"2017-03-28T09:36:09Z","updated_at":"2018-11-16T12:01:23Z","pushed_at":"2019-01-01T22:29:26Z","git_url":"git://github.com/Hopstok/rock-recepies.git","ssh_url":"git@github.com:Hopstok/rock-recepies.git","clone_url":"https://github.com/Hopstok/rock-recepies.git","svn_url":"https://github.com/Hopstok/rock-recepies","homepage":null,"size":7101,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"Hopstok:develop","ref":"develop","sha":"72584454a2e68c4bf56b7dbc1fc024b0d7e109c9","user":{"login":"Hopstok","id":26737366,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzM3MzY2","avatar_url":"https://avatars1.githubusercontent.com/u/26737366?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopstok","html_url":"https://github.com/Hopstok","followers_url":"https://api.github.com/users/Hopstok/followers","following_url":"https://api.github.com/users/Hopstok/following{/other_user}","gists_url":"https://api.github.com/users/Hopstok/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopstok/subscriptions","organizations_url":"https://api.github.com/users/Hopstok/orgs","repos_url":"https://api.github.com/users/Hopstok/repos","events_url":"https://api.github.com/users/Hopstok/events{/privacy}","received_events_url":"https://api.github.com/users/Hopstok/received_events","type":"Organization","site_admin":false},"repo":{"id":86441851,"node_id":"MDEwOlJlcG9zaXRvcnk4NjQ0MTg1MQ==","name":"rock-recepies","full_name":"Hopstok/rock-recepies","private":false,"owner":{"login":"Hopstok","id":26737366,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzM3MzY2","avatar_url":"https://avatars1.githubusercontent.com/u/26737366?v=4","gravatar_id":"","url":"https://api.github.com/users/Hopstok","html_url":"https://github.com/Hopstok","followers_url":"https://api.github.com/users/Hopstok/followers","following_url":"https://api.github.com/users/Hopstok/following{/other_user}","gists_url":"https://api.github.com/users/Hopstok/gists{/gist_id}","starred_url":"https://api.github.com/users/Hopstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hopstok/subscriptions","organizations_url":"https://api.github.com/users/Hopstok/orgs","repos_url":"https://api.github.com/users/Hopstok/repos","events_url":"https://api.github.com/users/Hopstok/events{/privacy}","received_events_url":"https://api.github.com/users/Hopstok/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Hopstok/rock-recepies","description":"This repository has been created for a simple project use to learn Angular and improve skills on Laravel 5","fork":false,"url":"https://api.github.com/repos/Hopstok/rock-recepies","forks_url":"https://api.github.com/repos/Hopstok/rock-recepies/forks","keys_url":"https://api.github.com/repos/Hopstok/rock-recepies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hopstok/rock-recepies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hopstok/rock-recepies/teams","hooks_url":"https://api.github.com/repos/Hopstok/rock-recepies/hooks","issue_events_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/events{/number}","events_url":"https://api.github.com/repos/Hopstok/rock-recepies/events","assignees_url":"https://api.github.com/repos/Hopstok/rock-recepies/assignees{/user}","branches_url":"https://api.github.com/repos/Hopstok/rock-recepies/branches{/branch}","tags_url":"https://api.github.com/repos/Hopstok/rock-recepies/tags","blobs_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hopstok/rock-recepies/statuses/{sha}","languages_url":"https://api.github.com/repos/Hopstok/rock-recepies/languages","stargazers_url":"https://api.github.com/repos/Hopstok/rock-recepies/stargazers","contributors_url":"https://api.github.com/repos/Hopstok/rock-recepies/contributors","subscribers_url":"https://api.github.com/repos/Hopstok/rock-recepies/subscribers","subscription_url":"https://api.github.com/repos/Hopstok/rock-recepies/subscription","commits_url":"https://api.github.com/repos/Hopstok/rock-recepies/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hopstok/rock-recepies/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hopstok/rock-recepies/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hopstok/rock-recepies/contents/{+path}","compare_url":"https://api.github.com/repos/Hopstok/rock-recepies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hopstok/rock-recepies/merges","archive_url":"https://api.github.com/repos/Hopstok/rock-recepies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hopstok/rock-recepies/downloads","issues_url":"https://api.github.com/repos/Hopstok/rock-recepies/issues{/number}","pulls_url":"https://api.github.com/repos/Hopstok/rock-recepies/pulls{/number}","milestones_url":"https://api.github.com/repos/Hopstok/rock-recepies/milestones{/number}","notifications_url":"https://api.github.com/repos/Hopstok/rock-recepies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hopstok/rock-recepies/labels{/name}","releases_url":"https://api.github.com/repos/Hopstok/rock-recepies/releases{/id}","deployments_url":"https://api.github.com/repos/Hopstok/rock-recepies/deployments","created_at":"2017-03-28T09:36:09Z","updated_at":"2018-11-16T12:01:23Z","pushed_at":"2019-01-01T22:29:26Z","git_url":"git://github.com/Hopstok/rock-recepies.git","ssh_url":"git@github.com:Hopstok/rock-recepies.git","clone_url":"https://github.com/Hopstok/rock-recepies.git","svn_url":"https://github.com/Hopstok/rock-recepies","homepage":null,"size":7101,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":0,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18"},"html":{"href":"https://github.com/Hopstok/rock-recepies/pull/18"},"issue":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/issues/18"},"comments":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/Hopstok/rock-recepies/statuses/0dbebad5f334426d0ae68c76235f93d9544859a3"}},"author_association":"NONE"}}
{"actor":{"display_login":"ptesser"}}