|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 64 ||All time: 9,944 This week: 347|
This package can show several ways of implementing of polymorphism in PHP.
It provides examples of PHP code that implement means to create objects that provide the same way to execute the same operations even though the objects are of different classes. Currently it provides examples to implement polimorphism using:
- Without class inheritance
- With class inheritance
- With abstract classes and inheritance
- With interfaces
This is a project to explain the polymorphism concept diving into:
Abstraction and inheritance
You can find examples guiding you through all of the steps bellow
[Service\Basic] uses models from [Model\Basic]
[Service\Inheritance] uses models from [Model\Inheritance]
[Service\AbstractInheritance] uses models from [Model\AbstractInheritance]
[Service\InterfaceImplementation] uses models from [Model\InterfaceImplementation]
Extended explanation in spanish can be found [here]
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.