Archive for the ‘docblock’ Category

Can We Have Static Types in PHP without PHP 7 or HHVM?

Posted on: No Comments
Now that PHP 7 has been out for a while with interesting features like error handling, null coalescing operator, scalar type declarations, etc., we often hear the people still stuck with PHP 5 saying it has a weak typing system, and that things quickly...

Your Own Custom Annotations – More than Just Comments!

Posted on: No Comments
In this article, we are going to look at how we can create and use our own custom annotations in a Symfony 3 application. You know annotations right? They are the docblock metadata/configuration we see above classes, methods and properties. You've most...