# constructor

> special method used for initializing a newly allocated object in object-oriented programming

**Wikidata**: [Q1049476](https://www.wikidata.org/wiki/Q1049476)  
**Wikipedia**: [English](https://en.wikipedia.org/wiki/Constructor_(object-oriented_programming))  
**Source**: https://4ort.xyz/entity/constructor-q1049476


## References

1. [Source](https://www.php.net/manual/en/language.oop5.decon.php)