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:
@ -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();
|
||||
|
Reference in New Issue
Block a user