vlucas/spot2 — pull request #22 by vlucas (2014-09-03 17:07:06+00:00)
Title: Fix #19 by returning NULL on non-loaded relation

* Added 'entity()' method to single relations and Entity object so you
can always call '$relation->entity()' without error, even if a loaded
Entity object had already been set over the temporary relation object
* Added more class checks to ensure specified relation class is a valid
Spot\Entity object