bcosca/fatfree — pull request #714 by slifin (2014-10-30 14:34:13+00:00)
Title: Update base.php

is_method tripped us up in production, with the error: Fatal error: Call to a member function cast() on array I still don't really understand how but I suspect it maybe because is_callable will check whether the method can be called from this scope, whilst method_exists will only check for the existence of the method
http://blog.jmfeurprier.com/2010/01/03/method_exists-vs-is_callable/
The downside to this approach is I think is_callable is slower than method_exists but is more reliable I think for this case