public function addInterfaces(array $interfaceNames) { $this->interfaces = array_merge($this->interfaces, $interfaceNames); }