getInterfaces() public method

Gets the interfaces.
public getInterfaces ( ) : ReflectionClass[]
return ReflectionClass[] An associative array of interfaces, with keys as interface names and the array values as {@see \ReflectionClass} objects.
 /**
  * {@inheritDoc}
  */
 public function getInterfaces()
 {
     $interfaces = $this->betterReflectionClass->getInterfaces();
     $wrappedInterfaces = [];
     foreach ($interfaces as $key => $interface) {
         $wrappedInterfaces[$key] = new self($interface);
     }
     return $wrappedInterfaces;
 }