ExtensionInterface
getExtension(string $name)
Returns an extension by alias or namespace.
Parameters string $name An alias or a namespace Return Value ExtensionInterface An extension instance Exceptions LogicException if the extension is not registered