protected function isStaticMethod($name) { $interface = new ReflectionClass($this->interface); if (!$interface->hasMethod($name)) { return false; } return $interface->getMethod($name)->isStatic(); }