1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-10-24 11:26:06 +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();