{"action":"created","comment":{"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/comments/53378911","id":53378911,"diff_hunk":"@@ -60,30 +80,42 @@ public function serialize()\n             $this->initMethod,\n             parent::serialize(),\n             $this->environments,\n+            $this->decorates,\n+            $this->decoration_inner_name,\n+            $this->deprecated,\n         ));\n     }\n \n+    /**\n+     * @param string $str\n+     */\n     public function unserialize($str)\n     {\n         $data = unserialize($str);\n \n-        list(\n+        // prevent errors if not all key's are set\n+        @list(\n             $this->id,\n             $this->parent,\n             $this->scope,\n             $this->public,\n             $this->abstract,\n+            $this->lazy,","path":"Metadata/ClassMetadata.php","position":81,"original_position":81,"commit_id":"4a44d4b7e989d225b509e45c73efaf3b2a994de5","original_commit_id":"4a44d4b7e989d225b509e45c73efaf3b2a994de5","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"body":"same thing here","created_at":"2016-02-18T20:40:12Z","updated_at":"2016-02-18T20:40:12Z","html_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223#discussion_r53378911","pull_request_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223","_links":{"self":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/comments/53378911"},"html":{"href":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223#discussion_r53378911"},"pull_request":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223"}}},"pull_request":{"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223","id":51731789,"html_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223","diff_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223.diff","patch_url":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223.patch","issue_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/223","number":223,"state":"open","locked":false,"title":"\"Lazy\" property in Service annotation: Define service as lazy","user":{"login":"alber999","id":9073936,"avatar_url":"https://avatars.githubusercontent.com/u/9073936?v=3","gravatar_id":"","url":"https://api.github.com/users/alber999","html_url":"https://github.com/alber999","followers_url":"https://api.github.com/users/alber999/followers","following_url":"https://api.github.com/users/alber999/following{/other_user}","gists_url":"https://api.github.com/users/alber999/gists{/gist_id}","starred_url":"https://api.github.com/users/alber999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alber999/subscriptions","organizations_url":"https://api.github.com/users/alber999/orgs","repos_url":"https://api.github.com/users/alber999/repos","events_url":"https://api.github.com/users/alber999/events{/privacy}","received_events_url":"https://api.github.com/users/alber999/received_events","type":"User","site_admin":false},"body":"Wouldn't it be nice to define lazy services in Service annotation?\r\n\r\n```\r\n/**\r\n * @Service(\"my_service\", lazy=true)\r\n */\r\nclass MyService { ... }\r\n```\r\n\r\nJust by adding \"ocramius/proxy-manager\" as dependency and handling Service \"lazy\" property you can make it. I hope you find this pull request useful\r\n\r\nCheers","created_at":"2015-11-24T23:18:08Z","updated_at":"2016-02-18T20:40:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc414cae91c96a01666591666916761413f43aef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223/commits","review_comments_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223/comments","review_comment_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/223/comments","statuses_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/statuses/4a44d4b7e989d225b509e45c73efaf3b2a994de5","head":{"label":"alber999:master","ref":"master","sha":"4a44d4b7e989d225b509e45c73efaf3b2a994de5","user":{"login":"alber999","id":9073936,"avatar_url":"https://avatars.githubusercontent.com/u/9073936?v=3","gravatar_id":"","url":"https://api.github.com/users/alber999","html_url":"https://github.com/alber999","followers_url":"https://api.github.com/users/alber999/followers","following_url":"https://api.github.com/users/alber999/following{/other_user}","gists_url":"https://api.github.com/users/alber999/gists{/gist_id}","starred_url":"https://api.github.com/users/alber999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alber999/subscriptions","organizations_url":"https://api.github.com/users/alber999/orgs","repos_url":"https://api.github.com/users/alber999/repos","events_url":"https://api.github.com/users/alber999/events{/privacy}","received_events_url":"https://api.github.com/users/alber999/received_events","type":"User","site_admin":false},"repo":{"id":46821726,"name":"JMSDiExtraBundle","full_name":"alber999/JMSDiExtraBundle","owner":{"login":"alber999","id":9073936,"avatar_url":"https://avatars.githubusercontent.com/u/9073936?v=3","gravatar_id":"","url":"https://api.github.com/users/alber999","html_url":"https://github.com/alber999","followers_url":"https://api.github.com/users/alber999/followers","following_url":"https://api.github.com/users/alber999/following{/other_user}","gists_url":"https://api.github.com/users/alber999/gists{/gist_id}","starred_url":"https://api.github.com/users/alber999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alber999/subscriptions","organizations_url":"https://api.github.com/users/alber999/orgs","repos_url":"https://api.github.com/users/alber999/repos","events_url":"https://api.github.com/users/alber999/events{/privacy}","received_events_url":"https://api.github.com/users/alber999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alber999/JMSDiExtraBundle","description":"Provides Advanced Dependency Injection Features for Symfony2","fork":true,"url":"https://api.github.com/repos/alber999/JMSDiExtraBundle","forks_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/forks","keys_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/teams","hooks_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/hooks","issue_events_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/issues/events{/number}","events_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/events","assignees_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/assignees{/user}","branches_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/branches{/branch}","tags_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/tags","blobs_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/languages","stargazers_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/stargazers","contributors_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/contributors","subscribers_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/subscribers","subscription_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/subscription","commits_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/contents/{+path}","compare_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/merges","archive_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/downloads","issues_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/issues{/number}","pulls_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/labels{/name}","releases_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/releases{/id}","deployments_url":"https://api.github.com/repos/alber999/JMSDiExtraBundle/deployments","created_at":"2015-11-24T22:07:40Z","updated_at":"2016-02-17T11:01:24Z","pushed_at":"2016-02-17T11:07:54Z","git_url":"git://github.com/alber999/JMSDiExtraBundle.git","ssh_url":"git@github.com:alber999/JMSDiExtraBundle.git","clone_url":"https://github.com/alber999/JMSDiExtraBundle.git","svn_url":"https://github.com/alber999/JMSDiExtraBundle","homepage":"http://jmsyst.com/bundles/JMSDiExtraBundle","size":378,"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":"schmittjoh:master","ref":"master","sha":"c9448a0f53e1de735e29028be15b057bb21e26c8","user":{"login":"schmittjoh","id":197017,"avatar_url":"https://avatars.githubusercontent.com/u/197017?v=3","gravatar_id":"","url":"https://api.github.com/users/schmittjoh","html_url":"https://github.com/schmittjoh","followers_url":"https://api.github.com/users/schmittjoh/followers","following_url":"https://api.github.com/users/schmittjoh/following{/other_user}","gists_url":"https://api.github.com/users/schmittjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/schmittjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmittjoh/subscriptions","organizations_url":"https://api.github.com/users/schmittjoh/orgs","repos_url":"https://api.github.com/users/schmittjoh/repos","events_url":"https://api.github.com/users/schmittjoh/events{/privacy}","received_events_url":"https://api.github.com/users/schmittjoh/received_events","type":"User","site_admin":false},"repo":{"id":1952092,"name":"JMSDiExtraBundle","full_name":"schmittjoh/JMSDiExtraBundle","owner":{"login":"schmittjoh","id":197017,"avatar_url":"https://avatars.githubusercontent.com/u/197017?v=3","gravatar_id":"","url":"https://api.github.com/users/schmittjoh","html_url":"https://github.com/schmittjoh","followers_url":"https://api.github.com/users/schmittjoh/followers","following_url":"https://api.github.com/users/schmittjoh/following{/other_user}","gists_url":"https://api.github.com/users/schmittjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/schmittjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmittjoh/subscriptions","organizations_url":"https://api.github.com/users/schmittjoh/orgs","repos_url":"https://api.github.com/users/schmittjoh/repos","events_url":"https://api.github.com/users/schmittjoh/events{/privacy}","received_events_url":"https://api.github.com/users/schmittjoh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schmittjoh/JMSDiExtraBundle","description":"Provides Advanced Dependency Injection Features for Symfony2","fork":false,"url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle","forks_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/forks","keys_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/teams","hooks_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/hooks","issue_events_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/events{/number}","events_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/events","assignees_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/assignees{/user}","branches_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/branches{/branch}","tags_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/tags","blobs_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/languages","stargazers_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/stargazers","contributors_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/contributors","subscribers_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/subscribers","subscription_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/subscription","commits_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/contents/{+path}","compare_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/merges","archive_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/downloads","issues_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues{/number}","pulls_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/labels{/name}","releases_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/releases{/id}","deployments_url":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/deployments","created_at":"2011-06-25T13:20:39Z","updated_at":"2016-02-17T12:00:14Z","pushed_at":"2016-02-17T11:06:55Z","git_url":"git://github.com/schmittjoh/JMSDiExtraBundle.git","ssh_url":"git@github.com:schmittjoh/JMSDiExtraBundle.git","clone_url":"https://github.com/schmittjoh/JMSDiExtraBundle.git","svn_url":"https://github.com/schmittjoh/JMSDiExtraBundle","homepage":"http://jmsyst.com/bundles/JMSDiExtraBundle","size":531,"stargazers_count":229,"watchers_count":229,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":90,"mirror_url":null,"open_issues_count":95,"forks":90,"open_issues":95,"watchers":229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223"},"html":{"href":"https://github.com/schmittjoh/JMSDiExtraBundle/pull/223"},"issue":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/223"},"comments":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/schmittjoh/JMSDiExtraBundle/statuses/4a44d4b7e989d225b509e45c73efaf3b2a994de5"}}}}