mirror of
https://github.com/php/presentations.git
synced 2026-03-24 15:42:33 +01:00
11 lines
655 B
XML
11 lines
655 B
XML
<slide title="Object Tips">
|
|
<list>
|
|
<bullet effect="slide">Objects in PHP are not references by default</bullet>
|
|
<bullet effect="slide">Objects are internally an array of properties and an array of methods</bullet>
|
|
<bullet effect="slide">Private methods should start with a '_' in order to denote their access levels.</bullet>
|
|
<bullet effect="slide">Inheritance can be used to share methods between multiple classes</bullet>
|
|
<bullet effect="slide">Overloading helps you facilitate lazy evaluation/lazy caching</bullet>
|
|
<bullet effect="slide">Aggregation helps facilitate creating dynamic interfaces which loads methods at runtime</bullet>
|
|
</list>
|
|
</slide>
|