1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 06:47:54 +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 ```php
class MyClass { class MyClass {
function myFunction() { function myFunction()
{
} }
function function youCannotOverrideMe() final function youCannotOverrideMe()
{ {
} }