Here is a mistake that can be made easily: ``` php return array( DI\object('Foo\Bar') ->constructor(/* ... */), ); ``` Here the entry is not indexed by the class name. PHP-DI should throw an exception to avoid silent errors of missing definitions.