laravel/laravel — pull request #530 by markhuot (2012-04-13 13:23:46+00:00)
Title: Syncing Up Magic Methods

This pull addresses an issue while using Twig with an Eloquent model. Twig checks if a property `isset` before calling it in the template. Unfortunately Eloquent's magic methods were running methods inside __get but not checking for the presence of those methods inside __isset. This will allow the following to work inside Twig:

{{ post.author.name }}