Docker: Architecture

Docker

Docker is a platform for managing container-based applications. Using the container-based approach we can separate our application from the actual physical machine, and run it in a self-contained environment.

PHP: Interfaces

PHP

Interfaces are contract that ensures the availability of methods/actions that an object must contain. By implementing an interface, a class agrees to contain the definitions of the methods declared in the interface. Interfaces have just the declaration/signature of the method, and the classes(that implement the interface) must have the definition of those methods.