GitHub PullRequestReviewCommentEvent at 2014-05-14 09:24:19
Repository: cakephp
Actor: dereuromark
Payload: {"comment":{"url":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/12627469","id":12627469,"diff_hunk":"@@ -480,6 +480,28 @@ public function addBehavior($name, array $options = []) {\n \t}\n \n /**\n+ * Removes a behavior.\n+ *\n+ * Removes a behavior from this table's behavior collection.\n+ *\n+ * Example:\n+ *\n+ * Unload a behavior, with some settings.\n+ *\n+ * {{{\n+ * $this->removeBehavior('Tree');\n+ * }}}\n+ *\n+ * @param string $name    The alias that the behavior was added with.\n+ *\n+ * @return void\n+ * @see \\Cake\\ORM\\Behavior\n+ */\n+\tpublic function removeBehavior($name) {","path":"src/ORM/Table.php","position":21,"original_position":21,"commit_id":"0dbcfd640e3fbf48d4208324f528ccb8da0595cc","original_commit_id":"0dbcfd640e3fbf48d4208324f528ccb8da0595cc","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?","gravatar_id":"6b6225db96d6fb4a34c6d50a9171d13f","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"body":"Wouldnt that be \"unloadBehavior()\" if we wanted to stay consistent in the API naming scheme?","created_at":"2014-05-14T09:24:19Z","updated_at":"2014-05-14T09:24:19Z","html_url":"https://github.com/cakephp/cakephp/pull/3492#discussion_r12627469","pull_request_url":"https://api.github.com/repos/cakephp/cakephp/pulls/3492","_links":{"self":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/comments/12627469"},"html":{"href":"https://github.com/cakephp/cakephp/pull/3492#discussion_r12627469"},"pull_request":{"href":"https://api.github.com/repos/cakephp/cakephp/pulls/3492"}}}}