laravel/laravel — pull request #1152 by franzliedke (2012-08-28 09:48:25+00:00)
Title: Get rid of "$this instanceof"

That is not object-oriented code.

Things like that can usually be solved through inheritance.