src/ClassDeclaration.php
public function setInterfaces(array $interfaces): ClassDeclaration
    {
        $this->interfaces = [];
        foreach ($interfaces as $interface) {
            $this->addInterface($interface);
        }

        return $this;
    }
public function setInterfaces(array $interfaces): ClassDeclaration
    {
        $this->interfaces = [];
        foreach ($interfaces as $interface) {
            $this->addInterface($interface);
        }

        return $this;
    }
public function setInterfaces ( array $ interfaces ) : ClassDeclaration { $ this -> interfaces = [ ] ; foreach ( $ interfaces as $ interface ) { $ this -> addInterface ( $ interface ) ; } return $ this ; }
Declare class interfaces.

@param array $interfaces

@return self
Declare class interfaces .