Skip to content

Commit

Permalink
small documentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielBruijntjes committed Mar 12, 2014
1 parent 24165a2 commit 9111e1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/classes-and-objects.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h1>Classes and objects</h1>
<p>
If you want to make a class method accessible from PHP, you must
ensure that it matches one of the supported signatures. These are essentially
the same signatures as <a href="functions">exportable plain functions</a>,
the same signatures as <a href="functions">exportable plain functions</a>
can have, but with versions for const and non-const methods.
</p>
<p>
Expand Down Expand Up @@ -125,11 +125,11 @@ <h1>Classes and objects</h1>
</p>
<p>
The Php::Class constructor needs a string parameter, with the name of
the class in PHP. The method Php::Class::method() can then be, as you can
the class in PHP. The method Php::Class::method() can then be used, as you can
see in the example above, to register methods that you want to make accessible
from PHP. Did you see that in the example we used the C++11 std::move() function
to add the class to the extension? This will actually <i>move</i> the class
obect into the extension, which is a more efficient operation than copying.
object into the extension, which is a more efficient operation than copying.
</p>
<h2>Method parameters</h2>
<p>
Expand Down

0 comments on commit 9111e1d

Please sign in to comment.