MCPcopy Index your code
hub / github.com/php/frankenphp / SetName

Method SetName

testdata/integration/namespace.go:30–32  ·  view source on GitHub ↗

export_php:method Person::setName(string $name): void

(name *C.zend_string)

Source from the content-addressed store, hash-verified

28
29// export_php:method Person::setName(string $name): void
30func (p *PersonStruct) SetName(name *C.zend_string) {
31 p.Name = frankenphp.GoString(unsafe.Pointer(name))
32}
33
34// export_php:method Person::getName(): string
35func (p *PersonStruct) GetName() unsafe.Pointer {

Callers

nothing calls this directly

Calls 1

GoStringFunction · 0.92

Tested by

no test coverage detected