change isOwningSide def - use typePHP to get typeDoc