10000 Support PHP 8 attributes at the parameter level by mnapoli · Pull Request #741 · PHP-DI/PHP-DI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Support PHP 8 attributes at the parameter level #741

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

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

mnapoli
Copy link
Member
@mnapoli mnapoli commented Oct 22, 2020

Here is an example:

class DbConnection
{
    public function __construct(Logger $logger, #[Inject('db.host')] $dbHost)
    {
        // ...
    }
}

@mnapoli mnapoli added this to the 7.0 milestone Oct 22, 2020
@mnapoli mnapoli mentioned this pull request Oct 22, 2020
4 tasks
@mnapoli mnapoli merged commit f31f16a into v7 Oct 22, 2020
@mnapoli mnapoli deleted the v7-php8-parameter-attributes branch October 22, 2020 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0