Extends one or more interfaces.
Name|string ...$interfaces Names of interfaces to extend:
$this The builder instance (for fluid interface)
public function extend(...$interfaces) { foreach ($interfaces as $interface) { $this->extends[] = BuilderHelpers::normalizeName($interface); } return $this; }