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
Labels
Milestone

Comments

@mnapoli
Copy link
Member

@mnapoli 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 mnapoli added the enhancement label Nov 21, 2014
@mnapoli mnapoli added this to the 5.0 milestone Nov 21, 2014
@mnapoli mnapoli mentioned this issue Dec 11, 2014
31 of 31 tasks complete
mnapoli added a commit that referenced this issue Mar 6, 2015
@mnapoli mnapoli mentioned this issue Mar 6, 2015
3 of 3 tasks complete
@mnapoli
Copy link
Member Author

@mnapoli mnapoli commented Mar 8, 2015

Implemented in 5.0

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.