public function addExtension(ExtensionInterface
$extension) { $this->extensionSet->
addExtension($extension);
$this->
updateOptionsHash();
} /**
* @param ExtensionInterface[] $extensions An array of extensions
*/
public function setExtensions(array
$extensions) { $this->extensionSet->
setExtensions($extensions);
$this->
updateOptionsHash();
} /**
* @return ExtensionInterface[] An array of extensions (keys are for internal usage only and should not be relied on)
*/
public function getExtensions(): array
{ return $this->extensionSet->
getExtensions();
}