__construct() public method

public __construct ( $p_idOrName = null )
 /**
  * Constructor.
  *
  * @param TypeRegistry $registry
  * @param string $reference String Reference to the non-resolved type
  */
 public function __construct(TypeRegistry $registry, PhpType $referencedType = null)
 {
     parent::__construct($registry);
     $this->referencedType = $referencedType ?: $registry->getNativeType('object');
 }