The PHP manual states that COM and DOTNET are classes not functions.
You ask how to use these classes. The manual page for each contains detailed descriptions of the constructor arguments along with examples and a fair amount of associated user-contributed documentation.
Do the manual pages not provide what you need?