Beispiel #1
0
 public function implementedInterfaces()
 {
     if (!$this->reflector instanceof Reflection\ReflectionClass) {
         return array();
     }
     $parent = $this->reflector->getParentClass();
     if (empty($parent)) {
         return $this->reflector->getInterfacesNames();
     }
     $interfaces = array();
     foreach ($this->reflector->getInterfacesNames() as $interfaceName) {
         $interfaces[] = $this->resolveClassName($interfaceName);
     }
     $this->getParentInterfaces($parent, $interfaces);
     return $interfaces;
 }