Enamul HaquePolymorphism word is derived from two Greek words: “poly” meaning “many” and “morphism” meaning…Laravel’s polymorphic relationships allow a model to belong to more than one other model on a single association. This is particularly…Apr 25Apr 25
Enamul HaqueSimplifying if-else in PHP with Ternary and Null Safe OperatorsRecently, I gone through some articles, blogs and of course real life use to refactor existing PHP code. When refactoring them, I found…Apr 11Apr 11