Magento 2 is a powerful and flexible e-commerce platform that offers many benefits for online merchants and developers. In this blog, I will focus on one of the most exciting features of Magento 2.4.6, the latest version of the platform, which is Seller-Assisted Shopping....
Maximizing Magento 2 Application with the Flexibility of Interceptors
Magento 2 interceptors, also known as plugins, are a powerful tool that allows developers to modify the behavior of a class without changing its code. This is achieved by intercepting method calls and executing code before, after, or around the original method. Interceptors are implemented using the plugin design pattern, which is a structural...
PHP 8.0 Constructor Property Promotion
PHP has recently launched its new version i.e. PHP 8 and it consists of many new features, constructor property promotion is one of the new features introduced in PHP 8. In previous versions of PHP(~7.*), we used to define our variables as class property and assign its value in the constructor...
Null Coalescing Operator
PHP 7 brings a new rather handy feature null coalescing operator. This new feature is similar to the ternary operator that we were using in older versions of PHP (PHP 5 & greater)...
Scalar Type Declaration
I would like to explain the Scalar type declaration feature, I hope this will help you to improve your knowledge and help you somehow in the future....