public function wrap($value) { if (!$value instanceof Context) { return new static($value); } else { return $value; } }