Define ownerDocument property on trait using phpdoc annotation