WeakRef::__construct

( excerpt from http://php.net/manual/en/weakref.construct.php )

public function __construct(
  ?T $reference,
);

Constructs a new weak reference.

Parameters

  • ?T $reference