Documentation
¶
Overview ¶
Command encxphpgen generates the PHP bindings for encx from the Go source of mobile/encxmobile.
It writes the cgo export file, the FFI-parsable C header, the surface manifest and the PHP classes. Every one of those files is derived from the Go package, so the bindings cannot drift from it: regenerating is the only way to change them.
With -check the command writes nothing and instead reports which files are out of date, which is what CI and the pre-commit hook use.
Click to show internal directories.
Click to hide internal directories.