diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 18:24:52 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-06 18:24:52 +0100 |
commit | 66e889fdf3d71e185ea52be7ddfcfc3b41a38752 (patch) | |
tree | 71dd71369064dde3bbca7815e7f9f86badf4f9d4 /documentation/constructors-and-destructors.html | |
parent | 3906515769d999ae1ab042d66efabcdd1caf2d7a (diff) |
changes to documentation
Diffstat (limited to 'documentation/constructors-and-destructors.html')
-rw-r--r-- | documentation/constructors-and-destructors.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/constructors-and-destructors.html b/documentation/constructors-and-destructors.html index 019bbe4..e5dbc1c 100644 --- a/documentation/constructors-and-destructors.html +++ b/documentation/constructors-and-destructors.html @@ -161,9 +161,10 @@ extern "C" { </p> <p> The code above shows that __construct() is registered as if it was - a regular method - and that's what it is. The counter example that we've - used before is now extended so that it is possible to give it an initial - value. + a regular method - and that's what it is. The example that we've + used before (the one with the Counter class) is now extended so that it + is possible to give it an initial value to the counter by passing a + value to the "constructor". </p> <p> <pre class="language-php"><code> |