Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested definitions #208

Closed
mnapoli opened this issue Nov 21, 2014 · 1 comment
Closed

Nested definitions #208

mnapoli opened this issue Nov 21, 2014 · 1 comment
Milestone

Comments

@mnapoli
Copy link
Member

mnapoli commented Nov 21, 2014

(splitting issue #190 and merging with #186)

This issue is about supporting nesting definitions, e.g.:

return [
    Db::class => DI\object()
        ->constructor(
            \DI\object(DbConfig::class)
                ->constructor(
                    \DI\env('DATABASE_HOST')
                )
        ),
];
@mnapoli
Copy link
Member Author

mnapoli commented Mar 8, 2015

Implemented in 5.0

@mnapoli mnapoli closed this as completed Mar 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant