1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-31 20:10:49 +02:00

Correct syntax error declaring final method

This commit is contained in:
Malcolm Fell
2013-06-28 09:19:53 +12:00
parent c8800bff13
commit 23e822bcc1

View File

@@ -367,10 +367,11 @@ Classes are insantiated with the ```new``` keyword. Functions are referred to as
```php
class MyClass {
function myFunction() {
function myFunction()
{
}
function function youCannotOverrideMe()
final function youCannotOverrideMe()
{
}