1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-10 00:36:52 +02:00

Continuing transition to hugo

This commit is contained in:
Andrew Davis
2019-07-13 08:48:55 -05:00
parent e09557cf2c
commit 2ae912aada
36 changed files with 224 additions and 401 deletions

View File

@@ -1,3 +1,11 @@
+++
title = "Classes"
description = "Object-oriented programming"
tags = ["php", "class", "object-oriented programming"]
slug = "classes"
previous = "functions.html"
next = "classes-inheritance.html"
+++
Classes allow you to define your own data types. All classes start with the
class keyword followed by the name of the class and opening and closing curly braces.
```php