{"action":"created","issue":{"url":"https://api.github.com/repos/Respect/Validation/issues/275","labels_url":"https://api.github.com/repos/Respect/Validation/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/Respect/Validation/issues/275/comments","events_url":"https://api.github.com/repos/Respect/Validation/issues/275/events","html_url":"https://github.com/Respect/Validation/issues/275","id":56097454,"number":275,"title":"Method chaining does not work","user":{"login":"konstantinrachev","id":7881742,"avatar_url":"https://avatars.githubusercontent.com/u/7881742?v=3","gravatar_id":"","url":"https://api.github.com/users/konstantinrachev","html_url":"https://github.com/konstantinrachev","followers_url":"https://api.github.com/users/konstantinrachev/followers","following_url":"https://api.github.com/users/konstantinrachev/following{/other_user}","gists_url":"https://api.github.com/users/konstantinrachev/gists{/gist_id}","starred_url":"https://api.github.com/users/konstantinrachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstantinrachev/subscriptions","organizations_url":"https://api.github.com/users/konstantinrachev/orgs","repos_url":"https://api.github.com/users/konstantinrachev/repos","events_url":"https://api.github.com/users/konstantinrachev/events{/privacy}","received_events_url":"https://api.github.com/users/konstantinrachev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-30T23:06:49Z","updated_at":"2015-01-31T12:43:09Z","closed_at":null,"body":"Hi guys,\r\n\r\nI am trying to validate an object, however the method chaining does not work at all.\r\n\r\n```php\r\n$Validator = v::attribute('Telephone', v::phone())->attribute('Email', v::email());\r\n```\r\n\r\nAnd after that the assert of this ```php $Validator ``` returns me the following:\r\n```\r\n\\-These rules must pass for \"really messed up screen#name\" |-Attribute Telephone must be present \\-Attribute Email must be present\r\n```\r\nAs I tested and ensured that one by one, both validations were successfully passed."},"comment":{"url":"https://api.github.com/repos/Respect/Validation/issues/comments/72316306","html_url":"https://github.com/Respect/Validation/issues/275#issuecomment-72316306","issue_url":"https://api.github.com/repos/Respect/Validation/issues/275","id":72316306,"user":{"login":"henriquemoody","id":154023,"avatar_url":"https://avatars.githubusercontent.com/u/154023?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquemoody","html_url":"https://github.com/henriquemoody","followers_url":"https://api.github.com/users/henriquemoody/followers","following_url":"https://api.github.com/users/henriquemoody/following{/other_user}","gists_url":"https://api.github.com/users/henriquemoody/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquemoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquemoody/subscriptions","organizations_url":"https://api.github.com/users/henriquemoody/orgs","repos_url":"https://api.github.com/users/henriquemoody/repos","events_url":"https://api.github.com/users/henriquemoody/events{/privacy}","received_events_url":"https://api.github.com/users/henriquemoody/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T12:43:09Z","updated_at":"2015-01-31T12:43:09Z","body":"Unfortunately, I have to say the same thing i said on #268.\r\n\r\nThe `validate()` method doesn't throw exceptions. Is that the exact code you're using?"}}