/** * {@inheritDoc} */ public function getInterfaces() { $interfaces = $this->betterReflectionObject->getInterfaces(); $wrappedInterfaces = []; foreach ($interfaces as $key => $interface) { $wrappedInterfaces[$key] = new ReflectionClass($interface); } return $wrappedInterfaces; }