Categories


Recent Posts


Archives


Below you'll find all the The Magento 2 Object System articles on the site.

The Magento 2 Object System

  1. Magento 2 Object Manager
  2. Magento 2's Automatic Dependency Injection
  3. Magento 2 Object Manager Preferences
  4. Magento 2 Object Manager Argument Replacement
  5. Magento 2 Object Manager Virtual Types
  6. Magento 2 Object Manager: Proxy Objects
  7. Magento 2 Object Manager: Instance Objects
  8. Magento 2 Object Manager Plugin System

Magento 2 Object Manager Preferences

Today we're going to explore the "class preference" feature of Magento 2's object-manager/dependency-injection system. While this feature is a direct descendant of Magento 1's class rewrite system, it ends up playing a different role in Magento 2. Where Magento 1's class rewrites were aimed

astorm

Magento 2 Object Manager Plugin System

We're finally here. After our long path through the object manager, automatic constructor dependency injection, class preferences, argument replacement, virtual types, proxy objects and code generation, we're finally familiar enough with the object system to discuss the true replacement for Magento 1's class rewrites

astorm
email hidden; JavaScript is required