Snippets tagged “object-oriented”
2 snippets use this tag.
- How to check if not instance of some class in symfony2PHP
In Symfony2, you can check if an object is not an instance of a certain class using the "instanceof" keyword in combination with the "!" (not) operator.
- What is stdClass in PHP?PHP
In PHP, stdClass is a predefined class, which is part of the PHP standard library