Minor PHP documentation improvements

This commit is contained in:
Olly Betts 2022-07-11 16:38:29 +12:00
commit c25d0d707a

View file

@ -307,11 +307,10 @@ functions.
</p> </p>
<p> <p>
SWIG honors the <tt>%immutable</tt> modifier by not generating code SWIG honors the <tt>%immutable</tt> modifier by not generating a
for the <tt>_set</tt> method. This provides read-only access to the <tt>_set</tt> method (so attempting to call it will give a PHP fatal
variable from the php script. Attempting to access the <tt>_set</tt> error). A <tt>_get</tt> method is still generated so this provides read-only
method will result in a php fatal error because the function is access to the variable from the PHP script.
undefined.
</p> </p>
<p> <p>
@ -700,8 +699,7 @@ Member variables and methods are accessed using the <tt>-&gt;</tt> operator.
<p> <p>
The <tt>-noproxy</tt> option flattens the object structure and The <tt>-noproxy</tt> option flattens the object structure and
generates collections of named functions (these are the functions generates collections of named functions. The above example results
which the PHP class wrappers call). The above example results
in the following PHP functions: in the following PHP functions:
</p> </p>