mirror of
https://github.com/restoreddev/phpapprentice.git
synced 2025-08-13 18:24:44 +02:00
Continuing transition to hugo
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
+++
|
||||
title = "Interfaces"
|
||||
description = "Writing code contracts"
|
||||
tags = ["php", "interface"]
|
||||
slug = "interfaces"
|
||||
previous = "static.html"
|
||||
next = "abstract.html"
|
||||
+++
|
||||
The word `interface` is a confusing term because it is used for so many different concepts.
|
||||
Most often, we use it to describe the appearance of an app and how a user interacts with it.
|
||||
However, in PHP, an interface is a special construct that acts as a contract for classes.
|
||||
|
Reference in New Issue
Block a user