Commit b9d57346 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #531 from markhuot/develop

Syncing Up Magic Methods
parents bee2a273 49384514
...@@ -650,6 +650,8 @@ abstract class Model { ...@@ -650,6 +650,8 @@ abstract class Model {
{ {
if (array_key_exists($key, $this->$source)) return true; if (array_key_exists($key, $this->$source)) return true;
} }
if (method_exists($this, $key)) return true;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment