1
0
mirror of https://github.com/jupeter/clean-code-php.git synced 2025-09-26 05:59:04 +02:00

Reference to Ocramius blog post added

This commit is contained in:
Spomky
2018-02-27 09:20:42 +01:00
committed by GitHub
parent 88c7865558
commit ab83eece3f

View File

@@ -1462,6 +1462,8 @@ The `final` should be used whenever possible:
The only condition is that your class should implement an interface and no other public methods are defined. The only condition is that your class should implement an interface and no other public methods are defined.
For more informations you can read [the blog post](https://ocramius.github.io/blog/when-to-declare-classes-final/) on this topic written by [Marco Pivetta (Ocramius)](https://ocramius.github.io/).
**Bad:** **Bad:**
```php ```php