1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-07-12 02:56:20 +02:00

Proofreading classes pages

This commit is contained in:
Andrew Davis
2018-09-05 20:58:12 -05:00
parent b9f18acc1f
commit 9c86b5d608
4 changed files with 7 additions and 6 deletions

View File

@ -43,6 +43,7 @@ class Tricycle
}
}
// You can execute a method on an object using the same "->" arrow characters.
$bike = new Tricycle();
$bike->color = 'Red';
$bike->echoColor();