public function undefineInterfaces(array $interfaces = []) { if (count($interfaces)) { foreach ($interfaces as $interface) { $this->undefineInterface($interface); } } else { $this->definitions['interfaces'] = []; } return $this; }