Neos\Flow\ObjectManagement\Proxy\ProxyClass::addInterfaces PHP Method

addInterfaces() public method

Note that the passed interface names must already have a leading backslash, for example "\Neos\Flow\Foo\BarInterface".
public addInterfaces ( array $interfaceNames ) : void
$interfaceNames array Fully qualified names of the interfaces to introduce
return void
    public function addInterfaces(array $interfaceNames)
    {
        $this->interfaces = array_merge($this->interfaces, $interfaceNames);
    }