Skip to content

Instantly share code, notes, and snippets.

@ephrin
Last active December 17, 2015 06:49
Show Gist options
  • Save ephrin/5568628 to your computer and use it in GitHub Desktop.
Save ephrin/5568628 to your computer and use it in GitHub Desktop.
call parent::__METHOD__ with func_get_args
$reflect = new \ReflectionClass(get_class($this));
return $reflect->getParentClass()->getMethod(__METHOD__)->invokeArgs($this, func_get_args());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment