This document discusses dependency injection with PHP and PHP 5.3. It provides an example of managing user preferences with a User object that depends on a SessionStorage object for persistence between requests. The document argues that directly instantiating dependencies within classes leads to rigid code that is hard to customize or test. Instead, it advocates injecting dependencies through a cl